vendredi 22 décembre 2017

Whats best practice for loading keys in a Go web app?

I usually worry about memory corruption with leaving my public and private keys in memory for access throughout my applications. I'm very new to Go and I'm wondering what the best practice is for making these keys available.

Is Go safe enough that I should be able to store these in memory, no problem. Or should I only keep my public key in memory for validation and load my private key every time I need to sign a token?

Aucun commentaire:

Enregistrer un commentaire