login card attr appears mandatory, fix #461

This commit is contained in:
drduh 2025-04-19 09:16:03 -07:00
parent f92fdd5a2e
commit a2dd896d5c

View file

@ -850,9 +850,7 @@ ykman openpgp access set-retries 5 5 5 -f -a $ADMIN_PIN
## Set attributes ## Set attributes
Set the [smart card attributes](https://gnupg.org/howtos/card-howto/en/smartcard-howto-single.html) with `gpg --edit-card` and `admin` mode - use `help` to see available options. Use previously set values:
Or use predetermined values:
```console ```console
gpg --command-fd=0 --pinentry-mode=loopback --edit-card <<EOF gpg --command-fd=0 --pinentry-mode=loopback --edit-card <<EOF
@ -864,6 +862,8 @@ quit
EOF EOF
``` ```
[Smart card attributes](https://gnupg.org/howtos/card-howto/en/smartcard-howto-single.html) can also be set with `gpg --edit-card` and `admin` mode. Use `help` to see available options. The `login` attribute is [required](https://github.com/drduh/YubiKey-Guide/issues/461).
Run `gpg --card-status` to verify results (*Login data* field). Run `gpg --card-status` to verify results (*Login data* field).
# Transfer Subkeys # Transfer Subkeys