code: def ecdh(self, identity, pubkey):
          
          log.info('please confirm GPG decryption on %s for "%s"...',
                   self.device, identity.to_string())
          with self.device:
              return self.device.ecdh(pubkey=pubkey, identity=identity)
docs: Derive shared secret using ECDH from remote public key.