Skip to content
Browse files

Make wsend-gpg far more secure as well as more efficient

The additional parameters add bzip2 compression, use a more secure cipher and digest algorithm, use 65 million rounds of hash (to thwart bruteforce attacks) and require gpg to use secure memory.
  • Loading branch information...
1 parent b35b136 commit 40723d419dfec1a9b3e305e8074669b31398544d @pmarreck pmarreck committed Oct 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 wsend-gpg
View
2 wsend-gpg
@@ -1,6 +1,6 @@
#!/bin/bash
#
-gpg -c --force-mdc "$1"
+gpg -c -z 9 --require-secmem --cipher-algo AES256 --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-mode 3 --s2k-count 65000000 --compress-algo BZIP2 "$1"
if [ -e "$1.gpg" ]; then
$HOME/.wsend/wsend "$1.gpg"
rm "$1.gpg"

0 comments on commit 40723d4

Please sign in to comment.
Something went wrong with that request. Please try again.