Archive for April, 2008

Everybody stand back

From xkcd

regular_expressions

Tags:

DAA (Direct Access Archive)

Direct Access Archive, or DAA, is a proprietary file format developed by PowerISO Computing for disk image files. The format supports features such as compression, password protection, and splitting to multiple volumes. Because of its proprietary nature, popular disk image mounting programs currently do not support the mounting of DAA images.

Currently there is no published information about the format. Among mainstream applications, it can be opened or converted with PowerISO and daa2iso. Various free open source packages are also available to convert DAA to ISO images.

poweriso convert file.daa -o file.iso
sudo mount -t iso9660 -o loop file.iso /mnt

Tags:

GPG Cheat Sheet

Generate Key

gpg --gen-key

Upload key

gpg --send-keys --keyserver keyserver.ubuntu.com DEADBEEF

Download key

gpg --keyserver keyserver.ubuntu.com --recv-keys DEADBEEF

Export Public Key

gpg -ao something-public.key --export DEADBEEF

Export Private Key

gpg -a --export-secret-keys DEADBEEF | gpg -aco some-private.key.gpg

Import Public Key

gpg --import something-public.key

Import Private Key

gpg --decrypt some-private.key.gpg |gpg --import

Sign Key

gpg --sign-key ABABABAB
gpg --default-key DEADBEEF --sign-key ABABABAB

Sign a file

gpg --default-key DEADBEEF --sign --detach-sign DumbSlides.odp

Verify signature file

gpg DumbSlides.sig

Sign a clear text

gpg --clearsign textfile.txt
gpg --default-key DEADBEEF --clearsign textfile.txt

Create ASCII Armoured key file

gpg --export -a DEADBEEF > mykey.asc

Encrypt a file

# -s sign the file with your key
# -e encrypt the file with a password
# -c encrypt with a symmetric cipher using a passphrase.

gpg --armor --recipient DEADBEEF --encrypt --sign file

Decrypt

gpg -d file.gpg

Tags: