Open olabini opened 5 years ago
Thank you! I just made the suggestion here: https://github.com/golang/go/issues/25355?ts=2#issuecomment-527240055. It would be neat to have memguard used throughout the entire crypto library.
I would like to mention this book: https://www.schneier.com/books/cryptography_engineering/. It has a few sections dedicated to these kind of issues. It is under the chapter "Implementation Issues". Definitely worth a read.
It seems https://github.com/awnumar/memguard might help us deal with buffers and so on of data that we will need to be careful with, and wipe. This is not perfect, but might be better than not doing anything.