Skip to content

Urgent: ALYF Banking EBICS Verify Bank Keys fails with ASN.1 certificate parsing error #388

Description

@salsabil-27

Hello ALYF team,

we are using ALYF Banking on ERPNext/Frappe v16 and are blocked during EBICS bank key verification.

System:

Frappe: 16.12.0
ERPNext: 16.11.0
ALYF Banking: 16.0.0
Bank: LBBW / Landesbank Baden-Württemberg
Action: EBICS User → Verify Bank Keys
EBICS order: HPB / download bank keys

The bank confirmed that the current EBICS participant/user is active. The EBICS User in ALYF is initialized and configured with the active user, but “Bank Keys Activated” is still not checked.

When clicking “Verify Bank Keys”, the request fails during client.HPB() while parsing the bank certificate:

ValueError: error parsing asn1 value: ParseError { kind: InvalidValue, location: ["Certificate::tbs_cert", "TbsCertificate::validity", "Validity::not_after", "Time::GeneralizedTime"] }

Traceback path:
apps/banking/banking/ebics/doctype/ebics_user/ebics_user.py
→ manager.download_bank_keys()
→ client.HPB()

→ _parse_certificates

We tested on staging:

fintech 7.9.1 + cryptography 48.0.0: same error
fintech 7.9.2 + cryptography 48.0.0: same error
fintech 7.9.2 + cryptography 46.0.3: same error
fintech 7.9.1 + cryptography 46.0.3: same error
certificate-related EBICS setting tested on staging: same error

We are not including Partner ID, User ID, IBAN, EBICS URL, passphrase, INI letter, or key material in this first support request for security reasons.

Could you please confirm whether this is a known issue with LBBW/BW-Bank certificates, and whether there is a patch or workaround for the fintech EBICS parser?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions