--export-filter not working

Ingo Klöcker kloecker at kde.org
Fri Apr 15 16:29:25 CEST 2022


On Donnerstag, 14. April 2022 23:27:21 CEST Felix Mayr via Gnupg-users wrote:
> Hello all,
> 
> so I try to create a file with my public keys and want to exclude some
> authorization keys. `--export-filter` should do the job if I understand
> correctly, but it doesn't work. (platform: Fedora 35/gpg 2.3.4)
> 
> Just using the command here to try filter out encryption-keys doesn't
> produce anything usable:
> https://dev.gnupg.org/rG86b64876bef0d8c4be8e309fcf3e2ce21e65a947
> 
> Notably, importing the resulting file on another machine, there are no
> subkeys at all (gpg --list-keys)!
> 
> Am I doing/understanding something wrong?

I have added some debug output. It seems that the result for the usage 
property is always an empty string. I guess either the above commit never 
worked (but the committer surely tested this) or it was broken by a later 
commit. In any case, it's a bug. Please submit a bug report.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220415/c1fb67bc/attachment.sig>


More information about the Gnupg-users mailing list