Follow

Made some good progress on himitsu today. It can add keys to the secstore, and read and write it, as well as write encrypted secrets. Only crypto task left is decrypting secret values. Going to whip around and do that after I spend some time on the RPC daemon and CLI tool.

@sir
I was reading the source code out of curiosity and found this interesting line: git.sr.ht/~sircmpwn/himitsu/tr

Why are you using a pointer to memset instead of calling memset directly? What security difference does it make?

@nloomans @sir stackoverflow.com/a/4597164/75 seems to have a solid answer as to what the syntax means. You could probably assume that the benefits mentioned are what Drew also want to take advantage of.

@nloomans changes the type to be volatile so the compiler doesn't optimize it

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!