Merge pull request #488 from drduh/wip-19apr25

required card attribute and windows agent option
This commit is contained in:
drduh 2025-04-20 19:00:25 +00:00 committed by GitHub
commit 65f8efca51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -850,9 +850,7 @@ ykman openpgp access set-retries 5 5 5 -f -a $ADMIN_PIN
## 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.
Or use predetermined values:
Use previously set values:
```console
gpg --command-fd=0 --pinentry-mode=loopback --edit-card <<EOF
@ -864,6 +862,8 @@ quit
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).
# Transfer Subkeys

View file

@ -12,3 +12,5 @@ pinentry-program /usr/bin/pinentry-curses
#pinentry-program /usr/local/bin/pinentry-curses
#pinentry-program /usr/local/bin/pinentry-mac
#pinentry-program /opt/homebrew/bin/pinentry-mac
# https://developers.yubico.com/PGP/SSH_authentication/Windows.html
#enable-win32-openssh-support