Skip to main content

aes,gpg,encrypt, man etc

-Who is the most controversial man in the world recently?
-Definitely it's Julia Assange.

WikiLeaks had released a package of file encrypted with AES.
What shall we do right now?
yeah! download it and wait for the passphrase!

So let's have a little try at encrypting in Ubuntu.
GPG
 here is sample file another_file.
gpg-1
1.gpg -c filename
gpg-2
enter a passphrase.Now the file is encrypted.
gpg-3
2.gpg filename.gpg
gpg-4

gpg-5


AES
    Download AESCrypt here.
    extract the package with
        tar xzvf filename
    then
        make
        sudo make install
    I haven't tried aescrypt yet. But you can make it with a simple command. Just go to their home page.

Others things:
Chinese man page.
while downloading source file of aescrypt, i found that they provide a manpage file.
So making 'man aescrypt' working in terminal became a problem. After googling, I resolved it. And in additionl, I found a way to use man in Chinese.
where is manpage file ?
    they are in /usr/share/man
    run
        sudo cp aescrypt.1 /usr/share/man/man1
    gzip it
        gzip aescrypt.1 aescrypt.1.gz
    Now 'man aescrypt' is working.
How to use chinese man?
    Actually it's already in the repositry.
        sudo apt-get instal manpages-zh
    make a alias so you can use both original man and man_zh.
        vim ~/.bashrc
    add
        alias cman='man -M /usr/shar/man/zh_CN'
    Run 'cman yourcommand' and bang! it is.

Comments