Make your code more pythonic by using magic methods in your classes. … More Python Magic Methods
overview Uses OpenSSL library to encrypt a file using a private/public key pair and a one-time secret. A full description of the process can be found here. configuration This uses a YAML file to describe the configuration; by default it assumes it is in /etc/filecrypt/conf.yml but its location can be specified using the -f flag. … More filecrypt – OpenSSL file encryption
A new (remastered) set of Ardis icons for Ubuntu desktop has recently been released, and they are a very pretty eye-candy (working really well with the Ambiance Crunchy theme – favor the green variant).
This is the post on github and it shows a few useful and worthy features have been added. To install on Ubuntu 14.04 (and newer – possibly older too, but I haven’t tested it): sudo add-apt-repository ppa:git-core/ppa sudo apt-get update && sudo apt-get install git then you should see the newest version: $ git –version … More Git 2.9 has been released
Updated The code is now available on github: https://github.com/massenz/distlib. Introduction A Merkle Tree is a tree structure where the individual nodes’ hashes are computed and stored in the parent node, so that the hash stored in the root node is the only value that is required to later validate the contents of the tree (stored … More Implementing A Merkle Tree in C++
The code presented here makes judicious use of Optionals, Functionals and the new Streaming interfaces.
It’s all very awesome, and makes me wonder: Java, what took you so long? … More Using Java 8 Optional and Functional interfaces to reduce boilerplate
Private/Public keypair Create the private key (one-off): openssl genrsa -out ~/.ssh/key.pem 2048 chmod 400 ~/.ssh/key.pem then extract the public key from it: openssl rsa -in ~/.ssh/key.pem -out ~/.ssh/key.pub -outform PEM -pubout NOTE The whole mechanism revolves around keeping the secret key key.pem, well, secret. This is the only critical part of the scheme. Everything else, … More HOW-TO Encrypt an archive file