... pgp. What a mess :/
ok so here is my problem. I really hope someone knows how to fix this properly.
I have a pgp keypair in the file keys.asc. The contents are structured like this:
Code: Select all
-----BEGIN PGP PUBLIC KEY BLOCK-----
...blablabla...
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PRIVATE KEY BLOCK-----
....blublublub....
-----END PGP PRIVATE KEY BLOCK-----
Code: Select all
b@bossy1312:~/Documents/pgp_sm$ gpg --import keys.asc
gpg: key ...: "... <...@...>" 1 new signature
gpg: key ...: "... <...@...>" not changed
gpg: key ...: secret key imported
gpg: Total number processed: 2
gpg: unchanged: 1
gpg: new signatures: 1
gpg: secret keys read: 1
gpg: secret keys unchanged: 1
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 3 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 3 signed: 0 trust: 2-, 0q, 0n, 0m, 1f, 0u
gpg: next trustdb check due at 2017-06-28
I installed thunderbird and enigmail (both via apt-get)
If i open an encrypted email I get:
Code: Select all
Error - decryption failed
gpg: decryption failed: No secret key
Note: The message is encrypted for the following User ID's / Keys:
.... (... <...@...>),
... (... <...@...>)
I have "ultimate" trust selected for the above keypair in enigmail.