libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 02d82c4ee3111671af3aa3f8626c7cd529b15704
parent 9b442a7244b9941301226b005bc341dafefd1226
Author: Antoine A <>
Date:   Wed, 19 Nov 2025 13:47:10 +0100

nexus: improve setup

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/cli/EbicsSetup.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/cli/EbicsSetup.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/cli/EbicsSetup.kt @@ -92,7 +92,7 @@ private suspend fun submitClientKeys( ) { require(order != HPB) { "Only INI & HIA are supported for client keys" } val resp = keyManagement(cfg, privs, client, ebicsLogger, order) - if (resp.technicalCode == EbicsReturnCode.EBICS_INVALID_USER_OR_USER_STATE) { + if (resp.technicalCode == EbicsReturnCode.EBICS_INVALID_USER_OR_USER_STATE || resp.technicalCode == EbicsReturnCode.EBICS_INVALID_USER_STATE) { throw Exception("$order status code ${resp.technicalCode}: either your IDs are incorrect, or you already have keys registered with this bank") } val orderData = resp.okOrFail(order.name)