Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #207887 > unrolled thread
| Started by | shirish शिरीष <shirishag75@gmail.com> |
|---|---|
| First post | 2019-04-26 23:10 +0200 |
| Last post | 2019-04-26 23:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
Why do I need to give the whole key when trying to delete a public keypair? shirish शिरीष <shirishag75@gmail.com> - 2019-04-26 23:10 +0200
Re: Why do I need to give the whole key when trying to delete a public keypair? Andreas Ronnquist <mailinglists@gusnan.se> - 2019-04-26 23:40 +0200
| From | shirish शिरीष <shirishag75@gmail.com> |
|---|---|
| Date | 2019-04-26 23:10 +0200 |
| Subject | Why do I need to give the whole key when trying to delete a public keypair? |
| Message-ID | <xRggy-7Vi-5@gated-at.bofh.it> |
Dear all,
I am sharing a specific key so it's simple and easy to show -
$ apt-key list
/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906
uid [ unknown] Debian Security Archive Automatic Signing
Key (8/jessie) <ftpmaster@debian.org>
$ sudo apt-key del D21169141CECD440F2EB8DDA9D6D8F6BC857C906
[sudo] password for shirish:
OK
Again running the apt-key list tells me that the key is no longer there.
I tried it with some different keys if using the short keycode for
e.g. if just using the first 8 alphanumeric keys it works, but found
it doesn't.
apt-key is part of apt
$ dpkg -S /usr/bin/apt-key
apt: /usr/bin/apt-key
$ apt-cache policy apt
apt:
Installed: 1.8.0
Candidate: 1.8.0
Version table:
*** 1.8.0 990
990 http://cdn-fastly.deb.debian.org/debian
buster/main amd64 Packages
500 http://cdn-fastly.deb.debian.org/debian
unstable/main amd64 Packages
100 /var/lib/dpkg/status
I looked at the Debian [BTS][1] but couldn't find a bug and dunno
whether it's a bug or it's a wishlist feature that I need to file. Can
anybody comment ?
[1]: https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=apt
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C
[toc] | [next] | [standalone]
| From | Andreas Ronnquist <mailinglists@gusnan.se> |
|---|---|
| Date | 2019-04-26 23:40 +0200 |
| Subject | Re: Why do I need to give the whole key when trying to delete a public keypair? |
| Message-ID | <xRgJz-84R-5@gated-at.bofh.it> |
| In reply to | #207887 |
On Fri, 26 Apr 2019 21:09:33 +0000, shirish शिरीष<shirishag75@gmail.com> wrote: >Dear all, > >I am sharing a specific key so it's simple and easy to show - > > $ apt-key list > > /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg > ------------------------------------------------------------------- > pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19] > D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906 > uid [ unknown] Debian Security Archive Automatic Signing >Key (8/jessie) <ftpmaster@debian.org> > > $ sudo apt-key del D21169141CECD440F2EB8DDA9D6D8F6BC857C906 > [sudo] password for shirish: > OK > >Again running the apt-key list tells me that the key is no longer >there. > >I tried it with some different keys if using the short keycode for >e.g. if just using the first 8 alphanumeric keys it works, but found >it doesn't. > I am not 100% sure I am understanding you correctly, but the short keyID for a gpg key is the _last_ 8 characters and not the 8 first - With the key you describe above, the short keyID is C857C906. This might be the cause of your confusion. And in addition to this, see https://gwolf.org/node/4070 best -- Andreas Rönnquist mailinglists@gusnan.se andreas@ronnquist.net
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web