diff --git a/build.gradle.kts b/build.gradle.kts index 6072de13..ccf7ebc4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,7 +21,7 @@ repositories { dependencies { // SSIKIT - implementation("id.walt:waltid-ssikit:1.2306191203.0") + implementation("id.walt:waltid-ssikit:1.2306201406.0") implementation("id.walt:waltid-sd-jwt-jvm:1.2306160840.0") implementation("io.javalin:javalin-bundle:4.6.8") diff --git a/src/main/kotlin/id/walt/webwallet/backend/wallet/DidCreationRequest.kt b/src/main/kotlin/id/walt/webwallet/backend/wallet/DidCreationRequest.kt index 277be4ce..f76fbd0f 100644 --- a/src/main/kotlin/id/walt/webwallet/backend/wallet/DidCreationRequest.kt +++ b/src/main/kotlin/id/walt/webwallet/backend/wallet/DidCreationRequest.kt @@ -11,5 +11,5 @@ data class DidCreationRequest( @Json(serializeNull = false) val didWebPath: String? = null, @Json(serializeNull = false) val didEbsiVersion: Int = 1, @Json(serializeNull = false) val network: String? = "testnet", - @Json(serializeNull = false) val isJwk: Boolean? = false, + @Json(serializeNull = false) val useJwkJcsPub: Boolean? = false, ) diff --git a/src/main/kotlin/id/walt/webwallet/backend/wallet/WalletController.kt b/src/main/kotlin/id/walt/webwallet/backend/wallet/WalletController.kt index 1cb1825e..718db603 100644 --- a/src/main/kotlin/id/walt/webwallet/backend/wallet/WalletController.kt +++ b/src/main/kotlin/id/walt/webwallet/backend/wallet/WalletController.kt @@ -427,9 +427,8 @@ object WalletController { val didStr = DidService.create( req.method, didKeyId, - DidKeyCreateOptions(isJwk = req.isJwk ?: false) + DidKeyCreateOptions(useJwkJcsPub = req.useJwkJcsPub ?: false) ) - ctx.result(didStr) }