Encrypted

#!/bin/bash

echo -n "Passphrase:"
read -sr p
gpg -d --batch --passphrase "$p" "$0" | python

exit $?
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (GNU/Linux)

jA0EAwMClL8rFOkU2Nm0yTK6hn6pQXkvOV1Q6Zn4fSrdAA4hrsOfYKkN5YMsJEIS
khru8d9rbGU1nLVnso1VhGJWpg==
=9G1r
-----END PGP MESSAGE-----

Maybe I should combine this with puppet.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s