[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GPG - secret key not available?



On Tue, Jul 03, 2012 at 04:51:09PM +0200, Csanyi Pal wrote:
> Hi,
> 
> I did run the
> gpg --gen-key
> 
> command and I have the secret key:
> 
> gpg -K
> /home/csanyipal/.gnupg/secring.gpg
> ----------------------------------
> sec   2048D/CD3E2F9A 2012-07-01
> [snip]
> 
> I exported this key in both 
> ~/.bashrc
> and
> ~/.xinitrc
> 
> files.

I suspect that's what you are doing wrong; you should export the public half
rather than the secret. It's the public half which is used by others to verify
your sigs.

(note also that if you are just starting to play around, it would be worth
generating a much stronger key. Read http://keyring.debian.org/creating-key.html
to find out how)


Reply to: