Skip to content

Commit

Permalink
[bin/qrencode-keys] add description
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jan 7, 2025
1 parent def0d8b commit 0377b0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/bin/qrencode-keys
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#! /usr/bin/env nix-shell
#! nix-shell -i zsh -p zsh qrencode imagemagick

# qrencode-keys generates for each public, private key pair
# in $HOME/.ssh a qr-code and creates a A4 PDF file containing
# all qr-codes. The qr-codes have the filename as a caption.
#
# You can store the resulting PDF file at a secure location and
# restore your ssh keys easily by using your smartphone.

SSH_DIR=$HOME/.ssh
QR_DIR=$(mktemp -d --tmpdir="$SSH_DIR")

Expand Down

0 comments on commit 0377b0a

Please sign in to comment.