MCPcopy Create free account
hub / github.com/SecurityInnovation/PGPy / decrypt_keyblob

Method decrypt_keyblob

pgpy/packet/fields.py:1506–1509  ·  view source on GitHub ↗
(self, passphrase)

Source from the content-addressed store, hash-verified

1504 self.encbytes = packet
1505
1506 def decrypt_keyblob(self, passphrase):
1507 kb = super(ECDSAPriv, self).decrypt_keyblob(passphrase)
1508 del passphrase
1509 self.s = MPI(kb)
1510
1511 def sign(self, sigdata, hash_alg):
1512 return self.__privkey__().sign(sigdata, ec.ECDSA(hash_alg))

Callers

nothing calls this directly

Calls 2

MPIClass · 0.85
decrypt_keyblobMethod · 0.45

Tested by

no test coverage detected