ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. gpg
    Log in to post
    • All categories
    • wirestyle22W

      You need a passphrase to unlock the secret key for

      IT Discussion
      • gpg encryption • • wirestyle22
      3
      0
      Votes
      3
      Posts
      643
      Views

      wirestyle22W

      @JaredBusch I have a file that exports the username and password in the script, so I am using a password. Sadly this error just fixed itself with no changes and everything is working as intended now so I won't know what the root cause of this was. Thanks for replying though.

    • wirestyle22W

      Changing Public PGP Key

      IT Discussion
      • gpg encryption key management • • wirestyle22
      4
      2
      Votes
      4
      Posts
      659
      Views

      wirestyle22W

      @Pete-S said in Changing Public PGP Key:

      Don't know if this helps in your application but if you have old files you can just decrypt them with the old key. If it's important to store them in an encrypted state you can encrypt them again with the new key. After that you can revoke the old key.

      Yeah I could do that, it just seems unnecessary when you can sign the new key with the old key and decrypt both. Turns out it actually chooses the right key so there is no problem

    • wirestyle22W

      Cron GPG Scripts can't locate the Keyring

      IT Discussion
      • gpg shell • • wirestyle22
      5
      0
      Votes
      5
      Posts
      561
      Views

      wirestyle22W

      That seems to have fixed the issue

    • wirestyle22W

      Script to Move and Decrypt Files in a Specified Directory

      IT Discussion
      • bash gpg • • wirestyle22
      13
      0
      Votes
      13
      Posts
      1.2k
      Views

      wirestyle22W

      This week was a learning experience.

      #!/usr/bin/env bash source "/home/datatransfer/company/master.sh" encryptedFolderPath="/home/datatransfer/company/in /" decryptedFolderPath="/home/datatransfer/company/out" archiveFolderPath="/home/datatransfer/company/archive" for i in $(ls $encryptedFolderPath.pgp) do gpg --batch --passphrase $PASS --list-only --list-packets --yes $i | grep -q "encrypted" if [ $? != 0 ]; then echo "$i is not a pgp file" continue fi v=${i%.} encryptedFile="$v" fileName=${encryptedFile##/} timeNow=$(date +%Y%m%d%H%M) extension=${fileName##.} newFileName=${fileName%.*} fileWithTimestamp="$newFileName""_""$timeNow.$extension" gpg --batch –passphrase $PASS --yes --decrypt $i > $decryptedFolderPath/$fileWithTimestamp ls -lr $decryptedFolderPath/$fileWithTimestamp if [ $? != 0 ]; then echo "$fileWithTimestamp is not a readable file" continue fi mv $i $archiveFolderPath done

      Thanks to @scottalanmiller @stacksofplates and my friend Erik

    • bbigfordB

      Symantec PGP vs...

      IT Discussion
      • security encryption gpg pgp • • bbigford
      4
      2
      Votes
      4
      Posts
      981
      Views

      scottalanmillerS

      Can't reply on SW, it's having one of its "this thread won't let you respond" hiccups.

    • mlnewsM

      Getting Started with GPG Security on Fedora Linux

      News
      • fedora gpg security privacy fedora magazine linux open source • • mlnews
      3
      2
      Votes
      3
      Posts
      1.1k
      Views

      stacksofplatesS

      Here's a quick version.

      https://www.variantweb.net/blog/creating-a-gpg-key-on-fedora-22/

    • mlnewsM

      German Government Seeks to Simplify Email Security

      News
      • email pgp gpg security infoworld • • mlnews
      6
      0
      Votes
      6
      Posts
      1.7k
      Views

      DashrenderD

      I know Lavabit closed it's doors a year or so ago because they rather close than continue to give access to government subpoenas.

    • Reid CooperR

      Werner Kock: The Man Behind GPG

      IT Discussion
      • security email gpg • • Reid Cooper
      7
      3
      Votes
      7
      Posts
      2.5k
      Views

      StrongBadS

      That is really nice that so many companies stepped in so quickly to remedy the situation. Kudos to them.

    • 1 / 1