[Bug 1481871] Re: apt-key del silently fails to delete keys due to limited understanding of GPG key ID formats
nivlac
1481871 at bugs.launchpad.net
Thu Jun 14 15:26:56 UTC 2018
Confirmed on xenial:
root at ubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
root at ubuntu:~# apt-key list|grep -A3 ownCloud
uid ownCloud build service <obsrun at localhost>
sub 2048R/8DE365D9 2013-08-26 [expires: 2018-08-25]
sub 2048D/86EB6027 2013-08-26 [expires: 2018-08-25]
sub 2048g/1722EF54 2013-08-26 [expires: 2018-08-25]
root at ubuntu:~# apt-key del 8DE365D9
OK
root at ubuntu:~# apt-key list|grep -A3 ownCloud
uid ownCloud build service <obsrun at localhost>
sub 2048R/8DE365D9 2013-08-26 [expires: 2018-08-25]
sub 2048D/86EB6027 2013-08-26 [expires: 2018-08-25]
sub 2048g/1722EF54 2013-08-26 [expires: 2018-08-25]
root at ubuntu:~#
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1481871
Title:
apt-key del silently fails to delete keys due to limited understanding
of GPG key ID formats
Status in apt package in Ubuntu:
Triaged
Bug description:
Description: Ubuntu 14.04.3 LTS
Release: 14.04
apt:
Installed: 1.0.1ubuntu2.10
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80
7A82B743B9B8E46F12C733FA4759FA960E27C0A6
apt-key export 7A82B743B9B8E46F12C733FA4759FA960E27C0A6 # key is here
apt-key del 7A82B743B9B8E46F12C733FA4759FA960E27C0A6 # delete key
apt-key export 7A82B743B9B8E46F12C733FA4759FA960E27C0A6 # key is still
here
# Works fine with IDs
apt-key del 0E27C0A6
apt-key export 7A82B743B9B8E46F12C733FA4759FA960E27C0A6 # nothing
exported
# Works fine with fingerprint on Precise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1481871/+subscriptions
More information about the foundations-bugs
mailing list