Skip to content

Instantly share code, notes, and snippets.

@stigtsp
Last active July 6, 2022 21:14
Show Gist options
  • Select an option

  • Save stigtsp/f0e53d88474e06e4c07f3da1e93f09da to your computer and use it in GitHub Desktop.

Select an option

Save stigtsp/f0e53d88474e06e4c07f3da1e93f09da to your computer and use it in GitHub Desktop.
///
/// PROBABLY INSECURE. DONT DO THIS!
///
sh("curl https://github.com/USERNAME.gpg | gpg --import") // Github username
sh("gpg --tofu-policy good 0xKEYID") // Trusted keyid
sh("git verify-commit HEAD") // or "git pull --verify-signatures"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment