I've created simple debian package which I am building using bzr bd.

the problem is my colleague is unable to build this package using this method, without changing changelog's email to her own, so the gpg signing passed.

We are working together on the same project and want to have possibility to build this package for each own.

I am not using debuild to build package - only bzr bd. And this is my private package not in launchpad.

Any idea?

  • You can pass additional flags on to debuild through bzr bd by using -- So, the command from the deleted answer becomes: bzr bd -S -- -k0x67B68654 – andrewsomething Oct 10 '12 at 23:35

the -k solution

When building a debian package you can switch the signing of a package to be your own PGP key via the -k parameter.

For example:

bzr bd -S -- -k0x67B68654

will build the package but will use the PGP key 67B68654

Obviously - change the 67B68654 to your launchpad OpenPGP key:

enter image description here

  • Works! I've used my key from passwords & keys in Ubuntu and it is OK. But 1 more question: how to get this identifier using script (bash). – marcinpz Oct 11 '12 at 7:32
  • how to get your PGP key via bash? Good question to ask - please hit that "Ask Question" button. Cheers. – fossfreedom Oct 11 '12 at 11:18
  • Something like: gpg --list-sigs | grep -m1 "sig.*email@host.com" | tr -s ' ' | cut -d' ' -f 3 ;) – marcinpz Oct 11 '12 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.