fix permission checking and add generic error catching to StorageManager
Add python-gnupg base GPG bindings