fiatjaf / nak

a command line tool for doing all things nostr
The Unlicense
172 stars 23 forks source link

ncryptsec not working with nak bunker #31

Closed SamSamskies closed 3 weeks ago

SamSamskies commented 3 weeks ago

I created an ncryptsec using nostr-tools and when I try to use it with nak bunker it says failed to decrypt private key. When I decrypt it myself using nostr-tools, it decrypts to the correct private key.

fiatjaf commented 3 weeks ago

That happens on older nak versions if your password had uppercase letters in it because we were lowercasing it always. Are you on latest nak? Can you check with nak key decrypt if there is any difference?

SamSamskies commented 3 weeks ago

I updated to the latest version and it's working now 🤙