Why Nostr? What is Njump?
2025-05-06 19:34:54

Owen (degenerate aspect) on Nostr: Any of y'all lovely folks have recommendations for storing API tokens _as an API ...

Any of y'all lovely folks have recommendations for storing API tokens _as an API provider_, such that someone walking off with the whole DB can't then trivially use that information to impersonate other users?

If they were passwords I'd store them after passing them through argon2, but doing argon2 validation on each request would be … challenging, in terms of load management.

Is storing the HMAC of a token, rather than the token itself, reasonable?
Author Public Key
npub10c0nh4as9qq0jv7882zjqgf50cff399vwxhm5cd05agp28jqy0ps8vgtay