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.
I was reading the source code out of curiosity and found this interesting line: https://git.sr.ht/~sircmpwn/himitsu/tree/9659aa4c416730c807891370bd441cb27cd36c10/os/os-linux.c#L54
Why are you using a pointer to memset instead of calling memset directly? What security difference does it make?
@nloomans changes the type to be volatile so the compiler doesn't optimize it
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!