I am running Ubuntu 12.04 and I am apparently having problems signing some packages and I am not sure why, others sign just fine.
Here is an example of a package I need to sign, you can see from the commands below there is no signature on this package at all, then I sign it and the -s builder goes just fine; however when I try and verify the package I get the BADSIG _gpgbuilder.
I have tried to create a new gpg key and still the same problem. I don't have this problem with all packages, some I've created work fine; however some I have created or found on the internet don't sign. I would guess the problem is with the package but I can install the packages just fine (if I don't use APT).
https://s3.amazonaws.com/tarn-repo/l....1.7_amd64.deb
root@usw2c-pri-apt-01:/var/tmp/packages# wget https://s3.amazonaws.com/tarn-repo/l....1.7_amd64.deb
--2013-09-21 14:33:10-- https://s3.amazonaws.com/tarn-repo/l....1.7_amd64.deb
Resolving s3.amazonaws.com (s3.amazonaws.com)... 207.171.189.80
Connecting to s3.amazonaws.com (s3.amazonaws.com)|207.171.189.80|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185764 (181K) [application/octet-stream]
Saving to: `libjzmq_2.1.7_amd64.deb'
100%[================================================== ========================= ================================================== ============================== >] 185,764 422K/s in 0.4s
2013-09-21 14:33:11 (422 KB/s) - `libjzmq_2.1.7_amd64.deb' saved [185764/185764]
root@usw2c-pri-apt-01:/var/tmp/packages# ls
libjzmq_2.1.7_amd64.deb
root@usw2c-pri-apt-01:/var/tmp/packages# dpkg-sig -l libjzmq_2.1.7_amd64.deb
Processing libjzmq_2.1.7_amd64.deb...
root@usw2c-pri-apt-01:/var/tmp/packages# dpkg-sig -c libjzmq_2.1.7_amd64.deb
Processing libjzmq_2.1.7_amd64.deb...
root@usw2c-pri-apt-01:/var/tmp/packages# dpkg-sig -s builder libjzmq_2.1.7_amd64.deb
Processing libjzmq_2.1.7_amd64.deb...
Signed deb libjzmq_2.1.7_amd64.deb
root@usw2c-pri-apt-01:/var/tmp/packages# dpkg-sig -l libjzmq_2.1.7_amd64.deb
Processing libjzmq_2.1.7_amd64.deb...
builder
root@usw2c-pri-apt-01:/var/tmp/packages# dpkg-sig -c libjzmq_2.1.7_amd64.deb
Processing libjzmq_2.1.7_amd64.deb...
BADSIG _gpgbuilder
Bookmarks