[NTLUG:Discuss] my bad - my real subject is security in tar or gzip or something like that
David Stanaway
david at stanaway.net
Fri May 31 15:05:20 CDT 2002
Install gnupg. Better than password protected zips.
On Fri, 2002-05-31 at 11:52, Fred James wrote:
> (I FUBAR'd on my first attempt to send this to the list - my subject
> line was "password" - I apologize to anyone I have inconvenienced.)
>
> Anybody know anything about a password protected tar or gzip or
> something like that?
gpg --decrypt < ~/Private/passwords.gpg > ~/Private/passwords.gpg.txt
# modify...
gpg --encrypt -r david at stanaway.net < ~/Private/passwords.gpg.txt \
> ~/Private/passwords.gpg && rm ~/Private/passwords.gpg.txt
Then you need to travel with access to your private keys, or you could
use symetric encryption (-c, --symmetric).
EG:
dstanawa at ciderbox:~$ tar tf floppy.tar
Backup/SoftwareLicenses/
Backup/SoftwareLicenses/.DS_Store
Backup/SoftwareLicenses/OmniOutliner-3940.omnilicense
Backup/SoftwareLicenses/OmniPDF-1273.omnilicense
Backup/SoftwareLicenses/.finderinfo/
Backup/SoftwareLicenses/.finderinfo/.DS_Store
Backup/SoftwareLicenses/.finderinfo/OmniOutliner-3940.omnilicense
Backup/SoftwareLicenses/.finderinfo/OmniPDF-1273.omnilicense
Backup/SoftwareLicenses/.resource/
Backup/SoftwareLicenses/.resource/.DS_Store
Backup/SoftwareLicenses/.resource/OmniOutliner-3940.omnilicense
Backup/SoftwareLicenses/.resource/OmniPDF-1273.omnilicense
dstanawa at ciderbox:~$ gpg -c < floppy.tar > floppy.gpg
Enter passphrase: xxxxx
Repeat passphrase: xxxxx
dstanawa at ciderbox:~$ gpg --decrypt < floppy.gpg |tar tf -
gpg: CAST5 encrypted data
Enter passphrase: xxxxx
Backup/SoftwareLicenses/
Backup/SoftwareLicenses/.DS_Store
Backup/SoftwareLicenses/OmniOutliner-3940.omnilicense
Backup/SoftwareLicenses/OmniPDF-1273.omnilicense
Backup/SoftwareLicenses/.finderinfo/
Backup/SoftwareLicenses/.finderinfo/.DS_Store
Backup/SoftwareLicenses/.finderinfo/OmniOutliner-3940.omnilicense
Backup/SoftwareLicenses/.finderinfo/OmniPDF-1273.omnilicense
Backup/SoftwareLicenses/.resource/
Backup/SoftwareLicenses/.resource/.DS_Store
Backup/SoftwareLicenses/.resource/OmniOutliner-3940.omnilicense
Backup/SoftwareLicenses/.resource/OmniPDF-1273.omnilicense
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://ntlug.org/pipermail/discuss/attachments/20020531/72d8b505/attachment.bin
More information about the Discuss
mailing list