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

GPG - secret key not available?



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.

When I'm trying to build the Piklab debian package, I have success in
this but failed to sign .dsc and .changes files. 

The output of dpkg-buildpackage at the and of the process is:

gpg: skipped "Csanyi Pal <csanyipal@gmail.com>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available

 dpkg-genchanges  >../piklab_0.16.0-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build piklab-0.16.0
dpkg-buildpackage: full upload (original source is included)
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file

What am I missing here?

-- 
Regards from Pal


Reply to: