aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar drduh <github@duh.to> 2025-04-20 19:00:25 +0000
committerGravatar GitHub <noreply@github.com> 2025-04-20 19:00:25 +0000
commit65f8efca51738893adf3116cd7d223e256732862 (patch)
treecc6b4c160de98cad5d401ac492d22a4b9c8971b9
parent8c4d80d4afed332c3bed3d3d83421a7234831668 (diff)
parenta2dd896d5cae85e9441c5917f6fd446da4c45eee (diff)
downloadYubiKey-Guide-65f8efca51738893adf3116cd7d223e256732862.tar.gz
YubiKey-Guide-65f8efca51738893adf3116cd7d223e256732862.tar.zst
YubiKey-Guide-65f8efca51738893adf3116cd7d223e256732862.zip
Merge pull request #488 from drduh/wip-19apr25
required card attribute and windows agent option
Diffstat (limited to '')
-rw-r--r--README.md6
-rw-r--r--config/gpg-agent.conf2
2 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index feac991..a1c4e7c 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/config/gpg-agent.conf b/config/gpg-agent.conf
index d2363db..a623e78 100644
--- a/config/gpg-agent.conf
+++ b/config/gpg-agent.conf
@@ -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