Poor Man's SSH
For those who do not allow their mails being read by a large cloud provider, fighting junk mail is an endless task. And, many people developed various -- sometimes really clever -- techniques to mitigate it. Though, current spam filters are typically time-consuming to configure, consume immense resources (or deliberately do not use all available information), and are complex in maintenance.
This text is about Sisyphus, a novel filter that automatically learns all (!) your mails' content to effectively fight off junk, is easy to deploy (one binary), and just needs one line of config, the location of your mail directory.
Child PGP Keys
This is a tutorial to set up child PGP keys from a master key.
For security reasons, many people want to store a master PGP keys at a safe location, for example a separate computer, and generate signed child keys for every day's usage. This has the advantage that revocations are easier, that expiration dates can be shorter than on the master key, that the fingerprint of the master key is still the only one that needs to be remembered, some kind of perfect forward secrecy can be constructed, or more.
The idea is to create a subkey from the master key that will later be split away and exported as a new master key of its own -- to be imported wherever you need it.
Install GnuPG from your favorite installer, e.g. in FreeBSD do:
Create a master key (follow the respective instructions):
You should have something like:
Create Child Subkey
Now, we create a child subkey by entering the edit mode (make sure you use the key id of your newly generated master key):
Add the subkey:
and select for example `RSA (sign only)`. The result should look like:
Checksum a DVD
Sometimes you get a DVD that you would like to checksum. For example one to install a new operating system.
A constant question is whether the content on this DVD is legitimate or not. Luckily, check-summing a DVD or CDROM is not so hard.
Get size of DVD image:
We observe that the size of the DVD image is:
Copy entire DVD content to harddisk:
Checksum the create file and compare with pubilshed hashes: