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 would like to be able to see the openPGP key of a PPA. I do not wish to add it to my sysetm. I only need to know what the key is. How might I discover this?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

You can find that out by going to the PPA page.

I'm using this PPA as an example.

Head to your PPA link, and then click "Technical details about this PPA".

enter image description here

What you're looking for is the "Signing key", in this case it's 1024R/D306B7D0, which is also a link to the Keyserver.ubuntu.com entry for the key.

You can then do whatever you need to do for that.

share|improve this answer
    
In fact, you may have helped me twice! Maybe this PPA will get my clickpad going proper! –  Dean Howell Aug 18 '12 at 17:58
    
@DeanHowell Only works for 11.10, 12.04 doesn't work well with it. –  jrg Aug 18 '12 at 18:16

As jrg said you can go to the launchpad's page, but, if you don't want to open your browser, or, if you have too many ppas so as to do that manually, you can use this bash script:

#!/bin/bash
tmp=$(mktemp)

wget -q "$1" -O $tmp
code=$(grep "<code>" $tmp | tr -d ' ')
code=${code:6:14}
echo $code
rm -f $tmp

Usage: usage

share|improve this answer

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.