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
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
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
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