From: W. Trevor King Date: Thu, 8 Oct 2015 15:21:18 +0000 (-0700) Subject: pinentry: Add a handler for CLEARPASSPHRASE X-Git-Url: http://git.tremily.us/?p=pyassuan.git;a=commitdiff_plain;h=3faa2ee4581f1ce58cd05f6818561ac3cd43d104 pinentry: Add a handler for CLEARPASSPHRASE This call landed in GnuPG's 3a930543 (agent: When the password cache is cleared, also clear the ext. cache, 2015-05-19, v2.1.5) and in the 2.0.x series with dde8ddff (agent: Backport changes from 2.1 to support an external password manager, 2015-05-19, v2.0.28). Our implementation is a no-op, because we don't store passphrases. --- diff --git a/bin/pinentry.py b/bin/pinentry.py index d2e57e0..50cf332 100755 --- a/bin/pinentry.py +++ b/bin/pinentry.py @@ -241,6 +241,9 @@ class PinEntry (_server.AssuanServer): self.strings['key info'] = arg yield _common.Response('OK') + def _handle_CLEARPASSPHRASE(self, arg): + yield _common.Response('OK') + def _handle_SETDESC(self, arg): self.strings['description'] = arg yield _common.Response('OK')