Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2daff3cdc6
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (20 sloc) 0.313 kb
#!/usr/bin/awk -f
BEGIN {
ciphertext = "";
enc = 0;
}
/BEGIN PGP MESSAGE/ {
enc = 1;
}
/^/ {
if (enc == 0) {
print $0;
} else {
ciphertext = ciphertext "\n" $0;
}
}
/END PGP MESSAGE/ {
enc = 0;
print ciphertext | "gpg --decrypt --quiet";
ciphertext = "";
}
Jump to Line
Something went wrong with that request. Please try again.