我想在我的公共pgp密钥中添加我的昵称(或别名或AKA),以便更好地在网络上被认可,除了我的真实姓名。
在gpg上如何正确完成此操作?
我想在我的公共pgp密钥中添加我的昵称(或别名或AKA),以便更好地在网络上被认可,除了我的真实姓名。
在gpg上如何正确完成此操作?
有多种选择,取决于您的需求和偏好。以下是个人观点中各自优缺点的简要讨论:
The "usenet" style, adding the pseudonym in quotes between the given and last name:
John 'Random Hacker' Doe <john@example.org>
I'd prefer this version, making it clear what the pseudonym part is and not misusing the comment field, but it might prevent some (few) from signing your key if they're strict in their naming policy.
(Mis)using the comment field:
John Doe (Random Hacker) <john@example.org>
Probably with less problems while getting signatures for your key, but the use of the comment field is often regarded critical.
Adding a separate user ID:
John Doe <john@example.org>
Random Hacker <hacker@example.net>
Especially a good idea when having a separate mail address for the nick name. You probably will not get signatures on that user ID. If you're going for this way, consider putting the pseudonym in quotes anyway and maybe even create a separate key for it.