[clug-talk] Exported public key unrecognized

Hendrik Schaink hschaink at infovisi.com
Sat Nov 29 12:05:28 PST 2008


I have come across an interesting sequence of event in gpg.

When I export my public key from my keyring in *ascii-armoured* format
with command
	gpg -o id_dsa.pub --export -a <my e-mail address>
and tried to verify that output file with command
	gpg-keygen -l -f id_dsa.pub
I get the error result
	"id_dsa.pub is not a public key file."

When I export my public key from my keyring in *binary* format with command
	gpg -o id_dsa.pub --export <my e-mail address>
and tried to verify that output file with command
	gpg-keygen -l -f id_dsa.pub
I get as a result
	"line 1 too long: \<octal>\......."    repeated 4 times
	"id_dsa.pub is not a public key file."

I verified under Kgpg the key properties: 1024 DSA.
I checked that my passphrase was to correct one -- OK.

I am stumped, thinking I must be overlooking something. Any hints or
suggestions?

Thank you,

Hendrik




More information about the clug-talk mailing list