Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Created May 15, 2018 09:26
Show Gist options
  • Save sonOfRa/d59264e4baf3b86ab80a2efedb103bfa to your computer and use it in GitHub Desktop.
Save sonOfRa/d59264e4baf3b86ab80a2efedb103bfa to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euxo pipefail
echo YOLO | gpg --disable-mdc --encrypt --recipient [email protected] > no-mdc.asc
if ! gpg -d no-mdc.asc | cat > test.data; then echo failed; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment