Verification of a signed payload with a key registered in hashicorp vault returns 404 message
Configuration
QKM connected to hashicorp vault using latest image from "consensys/quorum-key-manager:latest"
Steps to reproduce
Run QKM properly connected to Hashicorp Vault
Sign a payload issuing something like: curl -X POST --data '{"data": "bXkgZGF0YSB0byBiZSBzaWduZWQgeSByZWxsZW5vLi4="}' -H "Content-Type:application/json" 'http://localhost:8080/stores/hashicorp-keys/keys/my-test-key/sign' Which returns something like RcHF2pI7gkQKV77DBB3u1mdkziOsfeIo+H3fxPQBPpsUBHglILnbZVQxQurcQ5LbrInaqX1+bzHvzgKWBnveOw== (the signed payload)
Try to verify that this signature was in fact done by my-test-key issuing: curl -X POST --data '{"data": "bXkgZGF0YSB0byBiZSBzaWduZWQgeSByZWxsZW5vLi4=", "curve": "secp256k1","signingAlgorithm": "ecdsa","signature":"RcHF2pI7gkQKV77DBB3u1mdkziOsfeIo+H3fxPQBPpsUBHglILnbZVQxQurcQ5LbrInaqX1+bzHvzgKWBnveOw==","publicKey":"BNo3IM1KWtwEqrkAfOJpwWZqQ3M7s4h1Ig+L/WV40kh7rxBOgYmJ1H6iS+ygFHNwQzLeSvwGG8/nUx8HcvZwpLg="}' -H "Content-Type:application/json" 'http://localhost:8080/keys/verify-signature'
Actual result
Returns 404 page not found
Expected result
A 20x message indicating that the verification was successful.
Verification of a signed payload with a key registered in hashicorp vault returns 404 message
Configuration
QKM connected to hashicorp vault using latest image from "consensys/quorum-key-manager:latest"
Steps to reproduce
curl -X POST --data '{"data": "bXkgZGF0YSB0byBiZSBzaWduZWQgeSByZWxsZW5vLi4="}' -H "Content-Type:application/json" 'http://localhost:8080/stores/hashicorp-keys/keys/my-test-key/sign'
Which returns something likeRcHF2pI7gkQKV77DBB3u1mdkziOsfeIo+H3fxPQBPpsUBHglILnbZVQxQurcQ5LbrInaqX1+bzHvzgKWBnveOw==
(the signed payload)my-test-key
issuing:curl -X POST --data '{"data": "bXkgZGF0YSB0byBiZSBzaWduZWQgeSByZWxsZW5vLi4=", "curve": "secp256k1","signingAlgorithm": "ecdsa","signature":"RcHF2pI7gkQKV77DBB3u1mdkziOsfeIo+H3fxPQBPpsUBHglILnbZVQxQurcQ5LbrInaqX1+bzHvzgKWBnveOw==","publicKey":"BNo3IM1KWtwEqrkAfOJpwWZqQ3M7s4h1Ig+L/WV40kh7rxBOgYmJ1H6iS+ygFHNwQzLeSvwGG8/nUx8HcvZwpLg="}' -H "Content-Type:application/json" 'http://localhost:8080/keys/verify-signature'
Actual result
Returns
404 page not found
Expected result
A 20x message indicating that the verification was successful.