dotfiles

My ~/.config directory

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
#!/usr/bin/env fish

# https://microsounds.github.io/notes/termux-ssh-fingerprint.htm
# Unlock keystore with fingerprint
termux-fingerprint > /dev/null
# Sign nonce value
# Now it seems more elegant to sign the result of termux-fingerprint in a one-liner
# But this can cause weird bugs so let's just play it safe instead of elegant
# No ed25519 support sad
echo nonce | termux-keystore sign default SHA256withRSA | base64 -w 0