10-22-2008
How to use GPG for myself on Thumb drive?
I have some sensitive data I would like to keep on a thumb drive.
Now I know this is a UNIX/Linux forum and I regret to say that I'm using windows but I'm hoping that is irrelevant.
So I install gpg on both windows machines: one at home and the other at work.
I encrypt some stuff on the home machine, export the keys and go to work and import the keys. No errors. But then I try to decrypt the data file and no luck: it did not even prompt me for my passphrase!
What do I have to do to be able to read my encrypted file at work?
Also: should I be concerned about piping the decrypted output from gpg to a hard drive where someone at the recycling center could eventually scavenge the disk. I was going to pipe it to the thumb drive but then I realized if I ever lost my thumb drive, someone could scavenge the decrypted deleted file?
So what can I do? Have a special thumb drive just for holding the deleted and decrypted data that I eventually destroy? Or maybe one cannot scavenge flash memory?
Thanks,
Siegfried
9 More Discussions You Might Find Interesting
1. What is on Your Mind?
I'm hunting around for thumb drives that aren't working. Something you may have kicking around in a drawer that you don't need any more. One you've upgraded and just don't need.
I'm willing to pay a couple bucks for you to drop it into an envelope with a few stamps and send it along.
I'm... (0 Replies)
Discussion started by: BOFH
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have imported the details given by my friend using
gpg --import <file>
Now i am using the encryption technique with my friend's key in the following way:
gpg --output out.pgp --batch --encrypt --recipient "FRIEND_KEY" test
and i am getting the follwoing error:
gpg: 421E287E:... (4 Replies)
Discussion started by: risshanth
4 Replies
3. SCO
Hello Unix World,
I've been having this issue for the longest time.
Here is my setup
OS: SCO OpenServer 6.0 with mp4, mp3
Server: Dell PowerEdge 840, 800, 2900
USB Stick: Patriot 16GB High Speed, and many other different brands.
Occasinaly while system is running and USB is pluged in the... (0 Replies)
Discussion started by: miles556
0 Replies
4. Shell Programming and Scripting
Hello all
I have installed gpg key be executing command
gpg --gen-key and followed the on screen prompts.
I have done all this stuff from my home directory
Now i am unable to see the results. Where are these keys stored. Doesn't it create a new folder in my home directory and create the... (1 Reply)
Discussion started by: vasuarjula
1 Replies
5. Solaris
Hi,
The general rule of thumb for assigning swap is double the RAM of the server, however, there are servers with 16GB or 32GB of RAM. Are we suppose to put aside 32GB and 64GB of swap respectively.
Thanks (4 Replies)
Discussion started by: Mack1982
4 Replies
6. UNIX for Dummies Questions & Answers
I do some scripting during lunch on the macbookpro at work. I have the necessary folders on a thumb drive from my mac at home, and move them with the mv command to the mbpro so I don't have to change the script itself to access the necessary files on the thumb drive, and then change the code again... (13 Replies)
Discussion started by: Straitsfan
13 Replies
7. Shell Programming and Scripting
Folks,
Is there anyone to help on GPG file encryptions here.
I got a public key from third party. I imported the key in server.
I want to encrypt the public key. But without being signed , the key cannot be encrypted.
When I try to sign the key using lsign command,
I am getting the below... (1 Reply)
Discussion started by: dinesh1985
1 Replies
8. UNIX and Linux Applications
I am trying to use gig in linux but it is hanging.
$ gpg --passphrase=test /tmp/test.sh
Reading passphrase from file descriptor 0 ...
When i press enter, it gives the below message:
$ gpg --passphrase=test /tmp/test.sh
Reading passphrase from file descriptor 0 ...
gpg: no valid... (1 Reply)
Discussion started by: tcssk
1 Replies
9. Shell Programming and Scripting
Greeting everyone. Ok, I have spent the past few days googling for this and I keep hitting a wall. Many results brought me here, but the solutions were not quite right for this.
Basically my script (ksh) is run with an arg for a csv. My script so far appears to be storing the values from my... (4 Replies)
Discussion started by: dezdiggler
4 Replies
LEARN ABOUT CENTOS
amcrypt
AMCRYPT(8) System Administration Commands AMCRYPT(8)
NAME
amcrypt - reference crypt program for Amanda symmetric data encryption
SYNOPSIS
amcrypt
DESCRIPTION
amcrypt requires aespipe, uuencode and gpg to work. Aespipe is available from : http://loop-aes.sourceforge.net
amcrypt will search for the aespipe program in the following directories: /usr/bin:/usr/local/bin:/sbin:/usr/sbin.
amcrypt calls amaespipe and pass the passphrase through file descriptor 3. The passphrase should be stored in ~amanda/.am_passphrase.
HOW TO CREATE ENCRYPTION KEYS FOR AMCRYPT
1. Create 65 random encryption keys and encrypt those keys using gpg. Reading from /dev/random may take indefinitely long if kernel's
random entropy pool is empty. If that happens, do some other work on some other console (use keyboard, mouse and disks).
head -c 2925 /dev/random | uuencode -m - | head -n 66 | tail -n 65 | gpg --symmetric -a > ~amanda/.gnupg/am_key.gpg
This will ask for a passphrase. Remember this passphrase as you will need it in the next step.
2. Store the passphrase inside the home-directory of the AMANDA-user and protect it with proper permissions:
echo my_secret_passphrase > ~amanda/.am_passphrase
chown amanda:disk ~amanda/.am_passphrase
chmod 700 ~amanda/.am_passphrase
KEY AND PASSPHRASE
amcrypt uses the same key to encrypt and decrypt data.
It is very important to store and protect the key and the passphrase properly. Encrypted backup data can only be recovered with the correct
key and passphrase.
SEE ALSO
amanda(8), amanda.conf(5), aespipe(1), amaespipe(8), gpg(1)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Kevin Till <kevin.till@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 AMCRYPT(8)