[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Full-disclosure] encrypt the bash history



-----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@xxxxxxxxxxxx
-----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/