Closed biluohc closed 7 months ago
This is isn't a V1 keyset id so it should fail. Nutshell shouldn't be returning the old keyset ids on the v1 endpoint.
To get around this until its fixed I handle it by ignoring non V1 keysets in the /keysets
request and then the specific keys can be requested via the /keys/{keyset_id}
endpoint. But would like to take this out as well.
https://github.com/thesimplekid/cashu-crab/blob/664776f1224840c2f7ab944348e6bf534ff993f2/crates/cdk/src/nuts/nut02.rs#L174-L176
I opened an issue in nutshell https://github.com/cashubtc/nutshell/issues/512
Since nutshell does not plan to fix this I updated to now ignore pre v1 keysets ids in the response but not error. #90
curl -X GET https://8333.space:3338/v1/keys
It's version is
Nutshell/0.15.2
curl -X GET https://8333.space:3338/v1/info