Bug 1423441 - File Encryption not Available
Summary: File Encryption not Available
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kmymoney
Version: rawhide
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-17 10:40 UTC by William Cummings
Modified: 2017-08-14 14:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-14 14:04:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description William Cummings 2017-02-17 10:40:08 UTC
Description of problem: The option to encrypt the KmyMoney data file is not available, even though GPG (and keys) and all other prerequisites and dependencies are installed.  I've raised this with the KmyMoney developers, who advise it's not s fault in KmyMoney, it could be to do with the the way in which it has been compiled from the source file.


Version-Release number of selected component (if applicable):
4.8.0-1

How reproducible:

Very easy, just run the program
Steps to Reproduce:
1.run KymyMoney
2.select 'Configure KmyMoney' from Settings
3.select 'Encryption', the option to encrypt is grayed out.

Actual results:
Encryption not available

Expected results:
Encryption to be available if required

Additional info:
Files can be encrypted / decrypted using gpg from the command line, or KGPG, but not withing KmyMoney itself

Comment 1 Rex Dieter 2017-06-15 12:16:00 UTC
I think it needs sqlcipher, which wasn't packaged in fedora yet at the time, but I think it is now.  I'll look into it.

Comment 2 Rex Dieter 2017-06-15 12:23:12 UTC
Ugh, also requires private headers and sources of qt's SQLite driver:

CMake Error ... :
  Could not find QSQLite source.  (missing: QSQLITESOURCE_SRCS_DIR
  QSQLITESOURCE_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  kmymoney/plugins/sqlcipher/cmake/modules/FindQSQLiteSource.cmake:53 (find_package_handle_standard_args)
  kmymoney/plugins/sqlcipher/CMakeLists.txt:33 (find_package)


This will need a little more love :(

Comment 3 Rex Dieter 2017-08-14 13:17:06 UTC
Hrm, even with private headers/sources available, it still fails to build.  I'm going to have to poke upstream about that.

Comment 4 Rex Dieter 2017-08-14 14:04:19 UTC
OK, I determined it works, but only after you set default gpg key for gpg2 (kmymoney UI could use some improvement there).

Also unfortunately, it's very possible f25's kgpg may end up defaulting to using gnupg/gpg (v1) instead of gnupg2/gpg2.


Note You need to log in before you can comment on or make changes to this bug.