(question) Encrypting a single file

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Fri Mar 18 19:27:09 UTC 2011


On Fri, Mar 18, 2011 at 02:50:42PM -0400, Jamon Camisso wrote:
> On 3/18/2011 2:06 PM, William Park wrote:
> >Hi, I'm currently keeping all personal infos (ie. contacts, accounts,
> >passwords, pins, etc.) on paper address book.  I would like to store
> >them on a single textfile.  How do you encrypt/decrypt a single file?
> >
> >I used "cryptsetup" before, but that's for entire partition.  I guess I
> >can use password option in "zip", but that's so old fashion. :-)
> 
> Try gpg, I use this:
> 
> gpg -a -c file.txt

Yes, that works.  For decrypting, manpage says,
	gpg -d file.txt.asc > file.txt
or,	gpg -d file.txt.asc -o file.txt

Is there "in-place" option for GPG, just like "gzip"?
-- 
William
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list