diff --git a/README.md b/README.md index d0d47847..046c1a3e 100644 --- a/README.md +++ b/README.md @@ -881,19 +881,26 @@ ykman openpgp access set-retries 5 5 5 -f -a $ADMIN_PIN ## Set attributes -Use previously set values: +Set a public identifier for the gpg subsystem: +```console +export GPG_LOGIN_ATTR="My Cool YubiKey - 2025" +``` +> [!IMPORTANT] +> Anyone with access to the yubikey can see this attribute, even without authentication. It is recommended not to include personally identifiable information in this field to prevent a bad actor from associating a lost yubikey with its owner. + +Update the login attribute: ```console gpg --command-fd=0 --pinentry-mode=loopback --edit-card <