mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2025-04-26 20:13:38 +02:00
Merge pull request #488 from drduh/wip-19apr25
required card attribute and windows agent option
This commit is contained in:
commit
65f8efca51
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue