~sircmpwn/sr.ht-discuss

3 3

Trying to add GPG key to sr.ht

Details
Message ID
<87efbcvb0j.fsf@machine.i-did-not-set--mail-host-address--so-tickle-me>
Sender timestamp
1542936444
DKIM signature
missing
Download raw message
Good evening,

I'm trying to add my PGP key to the tab 'keys' of my profile. However,
when I paste my public key inside the text box and press 'add key', it
shows some red text :

> This is not a valid PGP key
> This key has no user IDs

Here is the command I use to export my key :
> gpg --export --armor 'key name' > /dev/clip

If I'm missing something obvious, please excuse my inaptitude. This is
the first time I export my PGP key.

Regards,
pbeliveau
Details
Message ID
<87h8g8cz1y.fsf@webmail.messagingengine.com>
In-Reply-To
<87efbcvb0j.fsf@machine.i-did-not-set--mail-host-address--so-tickle-me> (view parent)
Sender timestamp
1542939785
DKIM signature
missing
Download raw message
 Hello, pbveliveau.

 What you can do is try to see if you are using the correct key id, for
 that.

 > gpg --list-secret-keys --keyid-format LONG

 This will list all the secret keys that you have in your keyring, should be
 something like that.

 > sec   4096R/3AA5C34371567BD2 2016-03-10 [expires: 2017-03-10]
 > uid                          Hubot 
 > ssb   4096R/42B317FD4BA89E7A 2016-03-10

 So you can use the key that matches your, and try to export with:

 > gpg --export --armor 3AA5C34371567BD2
Details
Message ID
<20181123023801.GA1878@thomas-pc>
In-Reply-To
<87efbcvb0j.fsf@machine.i-did-not-set--mail-host-address--so-tickle-me> (view parent)
Sender timestamp
1542940682
DKIM signature
missing
Download raw message
Hey, pbeliveau

I don't have your public key, but there's an outstanding issue from
~sircmpwn which states that some PGP keys aren't supported[1], this
could be related to your issue.

I'm using GPG version 2.2.11 and followed the bog-standard process for
creating a GPG pair, exporting it using a similar process to Marcio's
and it works fine for me.

[1]: https://todo.sr.ht/%7Esircmpwn/sr.ht/106
Details
Message ID
<20200526115004.GA3783052@falared>
In-Reply-To
<20181123023801.GA1878@thomas-pc> (view parent)
DKIM signature
missing
Download raw message
Hi!
Sorry for re-opening this "old" thread and this is maybe not how to
report problems on sr.ht?

I am also not able to import my PGP key, it gives me "This is not a
valid PGP key".

Key was exported with:
| gpg --output public.pgp --armor --export faustin@fala.red

What am I doing wrong?

Thomas James Passmore <thomas@ra1n.org>,
23/11/2018 – 15:38:02 (+1300):

> Hey, pbeliveau
> 
> I don't have your public key, but there's an outstanding issue from
> ~sircmpwn which states that some PGP keys aren't supported[1], this
> could be related to your issue.
> 
> I'm using GPG version 2.2.11 and followed the bog-standard process for
> creating a GPG pair, exporting it using a similar process to Marcio's
> and it works fine for me.
> 
> [1]: https://todo.sr.ht/%7Esircmpwn/sr.ht/106
Reply to thread Export thread (mbox)