Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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.*email@host.com" | tr -s ' ' | cut -d' ' -f 3 ;) –  marcinpz Oct 11 '12 at 11:58
add comment

Your Answer

 
discard

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.