Skip to content

Commit afd627b

Browse files
authored
Merge pull request #106 from desultory/dev
improve cryptsetup reset command usage
2 parents f0057cd + 3c601ae commit afd627b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ugrd/crypto/smartcard.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ kmod_init = "uhid"
66
cryptsetup_autoretry = false
77

88
[cryptsetup_key_types.gpg]
9-
# 1s is apparently not enough time for scdaemon to restart
10-
reset_command = "gpgconf --reload && gpg --card-status"
9+
# Escape braces as .format() is used
10+
reset_command = '{{ gpgconf --reload && einfo "$(gpg --card-status)"; }}'
1111

1212
[custom_parameters]
1313
sc_public_key = "Path" # The path to the public key to import

0 commit comments

Comments
 (0)