Silk Road forums
Discussion => Security => Topic started by: Scot Walker on October 07, 2013, 03:56 am
-
Just curiou what everyone uses for GPG encryption in Linux? I am in the process of making the transition, and I can't seem to find a good route to go. What I'd like to do is import my existing keys from GPA if possible. Ubuntu has a GPA app, but it's completely fucking useless! You get an error immediately after opening it.
Thanks in advance for your help!!!
-
Ya export all your keys to a txt file and send it to yourself via email or some other private route.
If you are use to linux, I suggest looking into running TAILS. It has a built in PGP program that is very easy to use and just runs off a text editor and clipboard. Saves all your keys locally in a persistant encrypted partition on the USB. It forces all connections to run through Tor. Its a very usefull OS, clears memory after use and VERY VERY EASY TO PULL THE PLUG!! is that not what we all want/need in the end?
*bang bang* POLICE SEARCH WARRANT! .......easy as pulling out a usb stick and smashing the SD card and bye bye evidence :-)
(DPR why didn't you use this method ya fackin putz)
-
Thank you for the reply! I am not good with Linux, and had planned to get Ubuntu all set, and then do the TAILS. It sounds like I should do it the other way around though, and that's what I'll do.
Thanks!
-
Is there any way to import a ascii file containing a GPGTools backup on tails GPG?
-
Is there any way to import a ascii file containing a GPGTools backup on tails GPG?
I'm not familiar with that backup file sorry, is it just a clone of your config (keys, etc) from a different pgp software? I just exported all my keys into a normal text file and emailed it to myself and imported through tails integrated pgp software (very stable and works wonders). I set it up so all my keys and any future keys or files I create from the pgp applett are stored in the encypted partition that Tails creates for you.
I've never dove to deep into linux based OS's before, this is actually fairly new to me but I enjoy it much more than any mac or windows based OS......hell since I found tails I haven't loaded any native windows OS other than to check my real email from time to time, I enjoy it that much.
-
thanks gym +1, I'm doing as you did.
-
try Kleopatra
-
Just curious what everyone uses for GPG encryption in Linux? I am in the process of making the transition, and I can't seem to find a good route to go. What I'd like to do is import my existing keys from GPA if possible. Ubuntu has a GPA app, but it's completely fucking useless! You get an error immediately after opening it.
Thanks in advance for your help!!!
Not sure what you mean, but if you meaen public keys, you can very simply publish/sync the public keys to a keyserver. Open Seahorse, click file, import, and type the name of the keys you want.
The apps I use depend on the OS. In TAILS, I'd use Seahorse for keys and Gedit to encrypt text (like an address).
Since you're using Ubuntu, however, I'd say download Geany and Geany plug-ins (they're separate) from the Software Center. For whatever reason, the Gedit version included with Ubuntu doesn't have an encrypt option. Linux has built-in GPG support, so you don't need GPA.
Seahorse is your default key manager and is already installed. It's now called "Passwords and Keys." Hit the dash button and search for passwords and you'll find it.
To encrypt in Geany, look in the tools menu. It's called GeanyPG and will be available after you download the Geany plug-ins.
PS You can encrypt/decrypt files in the terminal (you can do key creation/management there too, but it's still done using seahorse
Here's the encrypt command for Ubuntu:
gpg --encrypt -r KEYID FILENAME.txt
or
gpg -o FILENAME.gpg --encrypt -r KEYID FILENAME.txt
The first one works fine. -r is the recipient. In the longer format -o is the output file, but it works without. You'd use the first if you wanted it saved in another location:
gpg -o /home/user/Downloads/FILENAME.gpg -r ~/Docuuments
Key ID is the name on the public key
If you're not in the directory that contains the file, you'll need to specify the full path to the file. It's easier just to use cd to change directories. If not, it would be:
gpg --encrypt -r KEYID /home/user/Documents/Filename.txt
The first one works fine. -r is the recipient. In the longer format -o is the output file, but it works without.
Decrypt:
gpg --decrypt FILENAME.gpg
Verify signature:
gpg --verify FILENAME.sig
Export:
gpg --export -a KEY-ID publickey.asc
The public key will be exported to the terminal. You can copy and paste it.
Export keypair (I.e. public+private):
gpg -o ~/Documents/myprivategpgkey.gpg -a --export KEYID
-
Is there any way to import a ascii file containing a GPGTools backup on tails GPG?
You can try clicking applications, then Passwords and Keys/Seahorse. Then select GnuPG keys on the left side and click file, export...
Or you can use the terminal (I wrote this in my other reply, but here it is again):
Public keys in ascii:
gpg --export -a KEY-ID publickey.asc
The public key will be exported to the terminal. You can copy and paste it into Gedit. Save it as filename.asc, although txt would probably work too.
For Key Pairs:
gpg -o ~/Documents/myprivategpgkey.gpg -a --export KEYID
In this case, the file path should be changed to the directory that you want to save it to, assuming that you have a persistence file.