Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
up vote 2 down vote accepted

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

share|improve this answer
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.*" | tr -s ' ' | cut -d' ' -f 3 ;) – marcinpz Oct 11 '12 at 11:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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