Full Disclosure mailing list archives

encrypt the bash history


From: "Zerial." <fernando () zerial org>
Date: Fri, 04 Feb 2011 16:06:06 -0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi guys,

what is the best way to encrypt the bash_history file?
I try using crypt/decrypt with GPG when login/logout. It works, but not
safe enough.


Example:

On .bashrc: gpg -e -r "...UID..." .bash_history
 and on .bash_logout: gpg -d -e "...UID..." .bash_history





cheers,

- -- 
Zerial
Seguridad Informatica
GNU/Linux User #382319
Blog: http://blog.zerial.org
Jabber: zerial () jabberes org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1MTh4ACgkQIP17Kywx9JSSLQCfVGgf0l6ZTDgsqDdSRtwIHZGZ
lk8AniX2czvEnLtKAD6GxxVJVFnBN4wM
=7rRj
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: