- 
Committer:
Teddy Hogeborn
- 
Date:
2011-11-26 20:59:56 UTC
- 
mto:
(518.1.8 mandos-persistent)
- 
mto:
This revision was merged to the branch mainline in
revision
524.
- 
Revision ID:
teddy@recompile.se-20111126205956-vft6g0z2i6my0165
Use GPG to encrypt instead of AES.
* Makefile (run-server): Use "--no-restore" option.
* debian/control (mandos/Depends): Added "python-gnupginterface".
* mandos: (CryptoError, Crypto): New; uses GPG.
  (Client.encrypt_secret, Client.decrypt_secret): Removed.
  (ClientHandler.fingerprint): Use binascii.hexlify().
  (main): Use Crypto class to decrypt.
  (main/cleanup): Use Crypto class to encrypt.  Handle EACCES.