Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. sudo apt-get install gedit-plugins seahorse
  2.  
  3. #!/bin/sh
  4. gpg -a -e -r test@test.com -r test2@test.com --no-tty -
  5.  
  6. #!/bin/sh
  7. gpg -d --no-tty - 2> /dev/null
  8.  
  9. gpg --use-agent --symmetric 2>/dev/null
  10.  
  11. sudo apt-get install geany geany-plugin-pg
  12.  
  13. #!/bin/bash
  14.  
  15. mail=$(zenity --entry --text="Enter E-Mail")
  16. gpg -a -e --no-tty -r "$mail" --use-agent -
  17.  
  18. #!/bin/bash
  19.  
  20. gpg --no-tty --use-agent -
  21.  
  22. #!/bin/bash
  23. stdin=$(cat)
  24.  
  25. if [ ! "${stdin:0:27}" == "-----BEGIN PGP MESSAGE-----" ]; then
  26. echo "$stdin" | gpg -a -e -r email@email.com --no-tty -
  27. else
  28. echo "$stdin"
  29. fi
  30.  
  31. #!/bin/bash
  32. stdin=$(cat)
  33.  
  34. if [ "${stdin:0:27}" == "-----BEGIN PGP MESSAGE-----" ]; then
  35. echo "$stdin" | gpg -d --no-tty - 2> /dev/null
  36. else
  37. echo "$stdin"
  38. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement