Skip to content

Instantly share code, notes, and snippets.

@naus3a
Created December 23, 2022 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naus3a/48eb8728f4ea54d8f165776aaa566c40 to your computer and use it in GitHub Desktop.
Save naus3a/48eb8728f4ea54d8f165776aaa566c40 to your computer and use it in GitHub Desktop.
use my implanted smartcard as a TRNG
#!/bin/bash
SZ=128
if [ -n "$1" ]; then
SZ=$1
fi
echo "scd random $SZ" | gpg-connect-agent --hex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment