Adds possibility to encrypt storage files

Still needs a version of gpg that has external pin
entry since stdin isn't available.