I added a key like this:
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
Now I want to remove this key. How can I do that? I don't know where it got added and how does it look like.
When I do sudo apt-key list
it prints out few things on the console. Not sure which one is related to what I did above?
david@machine:~$ sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub 1024D/437D05B5 2004-09-12
uid Ubuntu Archive Automatic Signing Key <[email protected]>
sub 2048g/79164387 2004-09-12
pub 1024D/FBB75451 2004-12-30
uid Ubuntu CD Image Automatic Signing Key <[email protected]>
pub 4096R/C0B21F32 2012-05-11
uid Ubuntu Archive Automatic Signing Key (2012) <[email protected]>
pub 4096R/EFE21092 2012-05-11
uid Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>
pub 1024D/D50582E6 2009-02-01
uid Kohsuke Kawaguchi <[email protected]>
uid Kohsuke Kawaguchi <[email protected]>
uid [jpeg image of size 3704]
sub 2048g/10AF40FE 2009-02-01
/etc/apt/trusted.gpg.d//pubring.gpg
-----------------------------------
pub 2048R/06634014 2013-01-26
uid OSP Team <[email protected]>
sub 2048R/732F28E7 2013-01-26