I'm using gpg as follows to export a minimum key: gpg --export-options export-minimal,no-export-attributes \ --export-filter "keep-uid=mbox=invalid" \ --export some-key-id If the key to export does not have a UID "invalid", then the exported key does not contain any UID packet at all. Is this expected, a bug or a feature? Thanks, Patrick