[IMP]add support for signature passphrase

This commit is contained in:
Luc De Meyer 2023-12-02 18:35:04 +01:00
parent 211f1640ce
commit b8f8e64200

View File

@ -463,7 +463,7 @@ class EbicsXfer(models.TransientModel):
"passphrase": passphrase, "passphrase": passphrase,
} }
if self.ebics_sig_passphrase: if self.ebics_sig_passphrase:
keyring_params["sig_passphrase"] = self.ebics_sig_passphrase keyring_params["sig_passphrase"] = self.ebics_sig_passphrase
try: try:
keyring = EbicsKeyRing(**keyring_params) keyring = EbicsKeyRing(**keyring_params)
except (RuntimeError, ValueError) as err: except (RuntimeError, ValueError) as err: