Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Send encrypted email in thunderbird (Read 663 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Send encrypted email in thunderbird

I am trying to send an encrypted email in thunderbird.
Code: [Select]
gpg --search-keys [email protected]
gpg: data source: https://185.125.188.26:443
(1) Christos Nouskas (Artix Master Key) <[email protected]>
  4096 bit RSA key EA690BC73A4F1094, created: 2017-08-05
(2) Christos Nouskas <[email protected]>
  4096 bit RSA key 606520ACB886B428, created: 2020-04-19
(3) Christos Nouskas (nous) <[email protected]>
  2048 bit RSA key 6023C3BEEAB08C4A, created: 2016-09-18
(4) Christos Nouskas (nous) <[email protected]>
Christos Nouskas (nous) <[email protected]>
  4096 bit RSA key FD87866ED342480C, created: 2012-03-28
(5) Christos Nouskas (mobile) <[email protected]>
  3072 bit RSA key 933B32E43CC4B8FF, created: 2020-05-24
Keys 1-5 of 5 for "[email protected]".  Enter number(s), N)ext, or Q)uit >


Code: [Select]
gpg --export -a "<[email protected]>" > nous.key
I opened that in thunderbird but still error "No key available".

openpgp.png

Re: Send encrypted email to Nous

Reply #1
But I sent you a PM with instructions how to encrypt a text file in the command line...

Re: Send encrypted email to Nous

Reply #2
I tried it:
Code: [Select]
gpg --encrypt --armor [email protected] file.txt
usage: gpg [options] --encrypt [filename]


Re: Send encrypted email in thunderbird

Reply #4
lol


Re: Send encrypted email in thunderbird

Reply #6
failed for me too @nous

Re: Send encrypted email in thunderbird

Reply #7
Just import another key:
Code: [Select]
iason:[nous]:/tmp% gpg --search-key [email protected]
gpg: data source: https://185.125.188.26:443
(1) Christos Nouskas (Artix Master Key) <[email protected]>
  4096 bit RSA key EA690BC73A4F1094, created: 2017-08-05
(2) Christos Nouskas <[email protected]>
  4096 bit RSA key 606520ACB886B428, created: 2020-04-19
(3) Christos Nouskas (nous) <[email protected]>
  2048 bit RSA key 6023C3BEEAB08C4A, created: 2016-09-18
(4) Christos Nouskas (nous) <[email protected]>
Christos Nouskas (nous) <[email protected]>
  4096 bit RSA key FD87866ED342480C, created: 2012-03-28
(5) Christos Nouskas (mobile) <[email protected]>
  3072 bit RSA key 933B32E43CC4B8FF, created: 2020-05-24
Keys 1-5 of 5 for "[email protected]".  Enter number(s), N)ext, or Q)uit > 2
gpg: key 606520ACB886B428: public key "Christos Nouskas <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
iason:[nous]:/tmp% gpg --encrypt --armor --recipient [email protected] file.txt
gpg: error retrieving '[email protected]' via Local: Unusable public key
gpg: error retrieving '[email protected]' via WKD: No data
gpg: [email protected]: skipped: No data
gpg: file.txt: encryption failed: No data
iason:[nous]:/tmp% gpg --search-key [email protected]
gpg: data source: https://185.125.188.26:443
(1) Christos Nouskas (Artix Master Key) <[email protected]>
  4096 bit RSA key EA690BC73A4F1094, created: 2017-08-05
(2) Christos Nouskas <[email protected]>
  4096 bit RSA key 606520ACB886B428, created: 2020-04-19
(3) Christos Nouskas (nous) <[email protected]>
  2048 bit RSA key 6023C3BEEAB08C4A, created: 2016-09-18
(4) Christos Nouskas (nous) <[email protected]>
Christos Nouskas (nous) <[email protected]>
  4096 bit RSA key FD87866ED342480C, created: 2012-03-28
(5) Christos Nouskas (mobile) <[email protected]>
  3072 bit RSA key 933B32E43CC4B8FF, created: 2020-05-24
Keys 1-5 of 5 for "[email protected]".  Enter number(s), N)ext, or Q)uit > 3
gpg: key 6023C3BEEAB08C4A: public key "Christos Nouskas (nous) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
iason:[nous]:/tmp% gpg --encrypt --armor --recipient [email protected] file.txt
gpg: 12A9FC955785B562: There is no assurance this key belongs to the named user

sub  rsa2048/12A9FC955785B562 2016-09-18 Christos Nouskas (nous) <[email protected]>
 Primary key fingerprint: 98AE 6E32 AE0A 4D12 6EAC  AC8C 6023 C3BE EAB0 8C4A
      Subkey fingerprint: EEC2 BDD7 73E5 7BBB CB7E  A61D 12A9 FC95 5785 B562

It is NOT certain that the key belongs to the person named
in the user ID.  If you *really* know what you are doing,
you may answer the next question with yes.

Use this key anyway? (y/N) y

Re: Send encrypted email in thunderbird

Reply #8
no idea how this works
Code: [Select]
gpg --keyserver https://185.125.188.26 --search-keys [email protected]
gpg: data source: https://185.125.188.26:443
(1) Christos Nouskas (Artix Master Key) <[email protected]>
  4096 bit RSA key EA690BC73A4F1094, created: 2017-08-05
(2) Christos Nouskas <[email protected]>
  4096 bit RSA key 606520ACB886B428, created: 2020-04-19
(3) Christos Nouskas (nous) <[email protected]>
  2048 bit RSA key 6023C3BEEAB08C4A, created: 2016-09-18
(4) Christos Nouskas (nous) <[email protected]>
Christos Nouskas (nous) <[email protected]>
  4096 bit RSA key FD87866ED342480C, created: 2012-03-28
(5) Christos Nouskas (mobile) <[email protected]>
  3072 bit RSA key 933B32E43CC4B8FF, created: 2020-05-24
Keys 1-5 of 5 for "[email protected]".  Enter number(s), N)ext, or Q)uit > 1
gpg: error searching keyserver: General error
gpg: keyserver search failed: General error
Choosing 606520ACB886B428 does the same

why your master not Ed25519?

Re: Send encrypted email in thunderbird

Reply #9
After adding also the key 3 I imported the file generated with this in thunderbird and now it shows encryption possible.
Code: [Select]
gpg --export -a "<[email protected]>" > nous.key

Edit: When I try to send the email some error happens.

"Sending of the message failed".

Re: Send encrypted email in thunderbird

Reply #10
I had to select
Code: [Select]
Yes, I've verified in person this key has the correct fingerprint.
In Key Manager.

Not sure if I was suppose to verify something.