Hello community,

here is the log from the commit of package keepassx for openSUSE:Factory 
checked in at 2014-09-03 18:23:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/keepassx (Old)
 and      /work/SRC/openSUSE:Factory/.keepassx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "keepassx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/keepassx/keepassx.changes        2014-08-27 
07:46:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.keepassx.new/keepassx.changes   2014-09-03 
20:07:18.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Aug 25 23:06:13 UTC 2014 - [email protected]
+
+- KeyFileHandling.patch:
+  Process "--keyfile" option correct with following behaviour:
+  * Invoking 
+            keepassx --keyfile kf_02.key db_02.kdbx
+    now results in immediate opening of database db_02.kdbx
+    if kf_02.key contains the correct key!
+  * This also works if the name of the key file is changed, e.g. 
+            keepassx --keyfile kf_02b.key db_02.kdbx
+  * This also works if as per config file additional databases e.g.
+    db_01.kdbx and db_03.kdbx are being opened - each of these databases
+    displays its own password/keyfile dialog, accordingly.
+  * This behaviour can be used to invoke keepassx by autostart
+    with a key extracted from kwallet and w/o exposing the key on the
+    process list as command line argument
+
+-------------------------------------------------------------------

New:
----
  KeyFileHandling.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ keepassx.spec ++++++
--- /var/tmp/diff_new_pack.eVNxd3/_old  2014-09-03 20:07:20.000000000 +0200
+++ /var/tmp/diff_new_pack.eVNxd3/_new  2014-09-03 20:07:20.000000000 +0200
@@ -26,6 +26,7 @@
 Source:         
http://www.keepassx.org/dev/attachments/download/69/keepassx-2.0-alpha6.tar.gz
 Patch0:         keepassx-ppc64le.patch
 Patch1:         keepassx-noselftest.patch
+Patch2:         KeyFileHandling.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  libgcrypt-devel
@@ -45,6 +46,7 @@
 %setup -q -n keepassx-2.0-alpha6
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 mkdir -p build

++++++ KeyFileHandling.patch ++++++
Index: keepassx-2.0-alpha6/src/gui/DatabaseOpenWidget.cpp
===================================================================
--- keepassx-2.0-alpha6.orig/src/gui/DatabaseOpenWidget.cpp
+++ keepassx-2.0-alpha6/src/gui/DatabaseOpenWidget.cpp
@@ -87,7 +87,12 @@ void DatabaseOpenWidget::enterKey(const
         m_ui->editPassword->setText(pw);
     }
     if (!keyFile.isEmpty()) {
-        m_ui->checkKeyFile->setText(keyFile);
+      // beware, this is a QCheckBox
+      // m_ui->checkKeyFile->setText(keyFile);
+      // changes the label of the check box
+      m_ui->comboKeyFile->clear();
+      m_ui->comboKeyFile->addItem(keyFile);
+      m_ui->checkKeyFile->setChecked(true);
     }
 
     openDatabase();
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to