chore: nix fmt
This commit is contained in:
parent
a9be5375ca
commit
a1df9205d5
8 changed files with 16 additions and 12 deletions
4
Justfile
4
Justfile
|
@ -230,8 +230,8 @@ switch-gpg-card key-id="6EEFA706CB17E89B":
|
|||
# Connect the new device and then run this script to make it known to gnupg.
|
||||
#
|
||||
set -xe
|
||||
if [[ -n "{{key-id}}" ]]; then
|
||||
KEY_ID="{{key-id}}"
|
||||
if [[ -n "{{ key-id }}" ]]; then
|
||||
KEY_ID="{{ key-id }}"
|
||||
else
|
||||
KEY_ID=$(gpg --card-status | rg sec | rg -o '[0-9A-Z]{16}')
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue