Add encryption method using an ssh public key.

This is a prerequisite for adding support to xenapi with
a guest agent to support the get-password command.

Related to blueprint get-password

Change-Id: I226ea5ee4fd6e326ccbb39cdf9098925d3f45312
This commit is contained in:
Vishvananda Ishaya
2013-01-15 12:19:53 -08:00
parent 5b58299c65
commit db9bbf7374

View File

@@ -179,8 +179,12 @@ class DBDuplicateEntry(DBError):
super(DBDuplicateEntry, self).__init__(inner_exception)
class EncryptionFailure(NovaException):
message = _("Failed to encrypt text: %(reason)s")
class DecryptionFailure(NovaException):
message = _("Failed to decrypt text")
message = _("Failed to decrypt text: %(reason)s")
class VirtualInterfaceCreateException(NovaException):