Gottfried writes:

>> Cool - how is that done? I didn't know that was possible :-)
>
> Emacs/tools/Encryption-Decryption/many options  in the menu-bar on top

Sweet, I never noticed that - I guess the only problem for your use
case is that it only allows exporting the public key.

> I have got older keys in Thunderbird, which I wanted to export. Not
> GnuPG keys, but keys I created in Thunderbird.

Ok, and you have found out how to do that in Thunderbird, right?

  Tools → OpenPGP Key Manager

and then:

  File → Export Public Key(s) To File
  File → Backup Secret Key(s) To File

Then you can import the two files you saved the keys to with "gpg
--import FILE.asc".

... and Bob's your uncle.

[...]

>> What did you put in ~/testkey.gpg?

> I encrypted a mail in Gnus and saved it into a file.
> and tried to decrypt it.

Good, then the problem is just that the encrypted email was only
encrypted for the recipient secret key, which (in general) you do not
have in Gnus and gpg.

So you'll want to encrypt your outgoing emails, so they can be
decrypted by the recipient _and_ by yourself. That's what this next
part is about:

>>>> that's done in the gpg configuration with the 'default-recipient' and
>>>> 'hidden-encrypt-to' options. Have you configured those?

>>> this is missing, I have not configured that, because I don´t know how.

>> Time to read some more documentation, then! Much easier now you know
>> what options to read about.

> I found in "man gpg" those two options:
> "default-recipient" and
> "hidden-encrypt-to"

Super!

Did you find out what value to set them to?

> but after many attempts I gave up.

What did you try? The easiest way to get help is if you follow this
format:

  - I thought I needed to do [.........]
  - When I did that, [..........] happened.
  - I expected [...........] to have happened instead.

When you give that information, people have a chance to understand
what went wrong, and help you.

When you say "I tried many times and it didn't work", I have no idea
what to say to help you.

> I don't know how to use them in the terminal.
> my knowledge about the terminal is too little.

You set those two parameters in the configuration file for gpg, which
is ~/.gnupg/gpg.conf

There is no arcane terminal knowledge required this time, you just
need to know how to edit a configuration file!


  Good luck,

    Adam

-- 
 "She was like: It's just a pencil, I was like: It          Adam Sjøgren
  is my perfect attendance pencil!"                    [email protected]


Reply via email to