Replies: 4 comments 4 replies
-
We're facing a very similar issue for a critical project we're working on. The xkey handling is essential for our implementation of the auth_callout service in .NET,. We really appreciate any help or suggestions from the community, as this functionality is central to the success of our project. If anyone has made progress on this or has insights into how to resolve this issue, we'd be very grateful for your input! The nkeys.net library (https://github.com/nats-io/nkeys.net) is currently under development, and it appears that the xkeys implementation is still in progress. Does anyone have any insights on when this feature might be ready? Thanks a lot in advance, and looking forward to hearing from you! |
Beta Was this translation helpful? Give feedback.
-
xkeys generation is implemented in https://www.nuget.org/packages/NATS.NKeys/1.0.0-preview.2 let me know if you're having issues or feel free to create an issue on its repo https://github.com/nats-io/nkeys.net |
Beta Was this translation helpful? Give feedback.
-
Also I would encourage you to consider using https://github.com/synadia-io/callout.go for the callout implementation or at least to take a look at it to understand some of the nuances and security checks |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to implement a auth_callout service created with c#. I have it working now except for the signing part. the auth_callout configuration has the xkey set (created using nsc generate nkey --curve).
I did find an example created in go (https://github.com/ConnectEverything/nats-by-example/blob/main/examples/auth/callout/cli/service/main.go). In that example, on line 52, the keypair is created for the xkey (SXA......). The .NET package also has the possibility with the "FromSeed" method. This does work for the issuerKey, but not for the xkey (Invalid Public Prefix Byte)
Beta Was this translation helpful? Give feedback.
All reactions