[IMP]add support for signature passphrase

This commit is contained in:
Luc De Meyer 2023-12-02 18:35:04 +01:00
parent 91d4490bb0
commit f605f2aade

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: