Importing my keys fails

Michael Erskine msemtd at yahoo.co.uk
Wed Nov 29 15:35:46 CET 2006


Hi all,

I have a pair of existing keys that I've used for ssh over the past few years 
and I'd like to use them with gnupg and gpg-enabled mailers etc. but they 
won't import for some reason: -

michael at fs1:~/.ssh$ gpg --import id_dsa
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

My private key looks like this...

-----BEGIN DSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,A953971238701254

<blah,blah,blah>

-----END DSA PRIVATE KEY-----

...and my public key is a single line beginning "ssh-dss ". Neither of them 
will import so I'm assuming they're either incompatible with my openpgp or I 
need to cast some magic to get them to work. Here's my version...

michael at fs1:~/.ssh$ gpg --version
gpg (GnuPG) 1.4.3
Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cypher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Any ideas?

Regards,
Michael Erskine.


-- 
A right is not what someone gives you; it's what no one can take from you.
		-- Ramsey Clark


		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html




More information about the Gnupg-users mailing list