在 2016年8月17日星期三 CST 下午8:52:06,David Kalnischkies 写道:
> On Wed, Aug 17, 2016 at 01:32:34PM +0000, 张 敬强 wrote:
> > 在 2016年8月17日星期三 CST 上午7:31:07,您写道:
> >
> > > Hi,
> > >
> > > On Wed, Aug 17, 2016 at 12:35:36PM +0800, Zhang Jingqiang wrote:
> > > > With the morden gpg, `apt-key list` wont't list keyid.
> > > > Replace the --fingerprint param with --list-sigs may be a temp
> > > > solution.
> > >
> > > That is correct, but what is the problem?
> >
> > The problem is that `apt-key del` need a keyid
>
> apt-key del accepts fingerprints just fine. It actually accept anything
> between the full fingerprint and just the last hex-digit. True, it
> wasn't very friendly to copy&pasting the fingerprint as you needed to
> remove the spaces, but I implemented automatic space-removal for the
> lazy just today, so that shouldn't be a problem either.
use "--list-sigs" without "--fingerprint" list fingerprints without spaces.
For the del case, it's more convenience.