Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
309 B

  1. #!/bin/bash
  2. echo "Please enter the location of image file: "
  3. read loc
  4. ~/.scripts/jsteg reveal $loc > /tmp/out.zip.gpg
  5. echo "Please enter your passphrase: "
  6. gpg -d /tmp/out.zip.gpg > /tmp/out.zip
  7. unzip /tmp/out.zip -d /tmp/keys
  8. gpg --import /tmp/keys/gpg.key
  9. mkdir -p ~/.ssh
  10. cp /tmp/keys/id_* ~/.ssh