Re: Finding key ID of a keypair
Dion Moult wrote: > It's passphraseless, it's DSA, and that's pretty much all I know. I > made it quite a long time ago, perhaps through ssh-keygen. If you created the key with ssh-keygen, then it's an SSH key, not an OpenPGP key. The two systems, ssh and gpg, do not use the same key formats. For an ssh key, you can print out the key's fingerprint using ssh-keygen -l -f /path/to/key -- ToddOpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~ The only difference between a rut and a grave is the depth. pgpnGlTE4nwn2.pgp Description: PGP signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Finding key ID of a keypair
On Mon, 9 Nov 2009 13:08, d...@thinkmoult.com said: > localhost ~/.ssh # gpg myfile.key > gpg: no valid OpenPGP data found. > gpg: processing message failed: Unknown system error Probably not an OpenPGP key. You my try gpg --list-packets myfile.key to dump the packets, but this is unlikely to show something else than running just gpg on the file. Chech that the file is a proper OpePGP file and has been downloded correctly. Often FTP is not used coreclty and breaks binary files. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Finding key ID of a keypair
On Monday 09 November 2009 18:39:27 Werner Koch wrote: > On Sun, 8 Nov 2009 17:19, d...@thinkmoult.com said: > > I've got myself a DSA keypair, just two files - one being the public key > > and the other being the private. I'm trying to find out the ID of that > > keypair. > > A mere > > gpg OURFILE > > will do > > > Salam-Shalom, > >Werner > Unfortunately it didn't seem to do anything: localhost ~/.ssh # gpg myfile.key gpg: no valid OpenPGP data found. gpg: processing message failed: Unknown system error localhost ~/.ssh # gpg myfile.pub gpg: no valid OpenPGP data found. gpg: processing message failed: Unknown system error Where myfile.key is the file containing the private key and myfile.pub is the file containing the public key. -- Dion Moult :-) signature.asc Description: This is a digitally signed message part. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Finding key ID of a keypair
On Sun, 8 Nov 2009 17:19, d...@thinkmoult.com said: > I've got myself a DSA keypair, just two files - one being the public key and > the other being the private. I'm trying to find out the ID of that keypair. A mere gpg OURFILE will do Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Finding key ID of a keypair
Hello, I've got myself a DSA keypair, just two files - one being the public key and the other being the private. I'm trying to find out the ID of that keypair. However this keypair doesn't show up when I do gpg --list-keys. It's passphraseless, it's DSA, and that's pretty much all I know. I made it quite a long time ago, perhaps through ssh-keygen. Is there perhaps a way to add it to the --list-keys list or find out the keypair ID through an alternative method? -- Dion Moult :-) signature.asc Description: This is a digitally signed message part. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users