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 858 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Send encrypted email in thunderbird

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


Code: [Select]
gpg --export -a "<nous@artixlinux.org>" > 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 nous@artixlinux.org file.txt
usage: gpg [options] --encrypt [filename]

Re: Send encrypted email in thunderbird

Reply #3
Code: [Select]
gpg --encrypt --armor --recipient nous@artixlinux.org file.txt
Good thing those email harvesting bots seem to like my email...

Re: Send encrypted email in thunderbird

Reply #4
lol

Re: Send encrypted email in thunderbird

Reply #5
Code: [Select]
gpg --encrypt --armor --recipient nous@artixlinux.org file.txt
gpg: error retrieving 'nous@artixlinux.org' via Local: Unusable public key
gpg: error retrieving 'nous@artixlinux.org' via WKD: No data
gpg: nous@artixlinux.org: skipped: No data
gpg: file.txt: encryption failed: No data

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

sub  rsa2048/12A9FC955785B562 2016-09-18 Christos Nouskas (nous) <nous@artixlinux.org>
 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 nous@artixlinux.org
gpg: data source: https://185.125.188.26:443
(1) Christos Nouskas (Artix Master Key) <nous@artixlinux.org>
  4096 bit RSA key EA690BC73A4F1094, created: 2017-08-05
(2) Christos Nouskas <nous@artixlinux.org>
  4096 bit RSA key 606520ACB886B428, created: 2020-04-19
(3) Christos Nouskas (nous) <nous@artixlinux.org>
  2048 bit RSA key 6023C3BEEAB08C4A, created: 2016-09-18
(4) Christos Nouskas (nous) <nouskas@gmail.com>
Christos Nouskas (nous) <nous@artixlinux.org>
  4096 bit RSA key FD87866ED342480C, created: 2012-03-28
(5) Christos Nouskas (mobile) <nous@artixlinux.org>
  3072 bit RSA key 933B32E43CC4B8FF, created: 2020-05-24
Keys 1-5 of 5 for "nous@artixlinux.org".  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 "<nous@artixlinux.org>" > 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.

 
Artix forum uses a single cookie to remember youOK