hyc

Results 108 comments of hyc

That patch only fixes Ctrl-C handling in a console window. The patch I linked to above handles SIGINT/SIGQUIT/SIGKILL/SIGTERM and works even if the target process isn't attached to a terminal.

I see, didn't read the entire patch thoroughly before. For the moment the only problem I seem to be having is that SIGTERM just calls ExitProcess() so it bypasses any...

>OTOH there might be some F/LOSS that got ported to Windows + CRT and are historically still trying to handle these two. Exactly. `SIGTERM` is also the default generated by...

> TBH I consider https://github.com/msys2/msys2-runtime/pull/31 to have addressed this ticket before it was opened 😃 Mostly. There are still a few signals that the CRT supports that aren't addressed in...

If you'r using a Xeon with 32GB of RAM you should be using the x86-64 binaries, not the i686 binaries.

With respect, @sgued's review is incorrect. LMDB's API is fully compliant with AEAD APIs and the code already provides an example implementation thereof. https://github.com/LMDB/lmdb/blob/mdb.master3/libraries/liblmdb/crypto.c https://github.com/LMDB/lmdb/blob/mdb.master3/libraries/liblmdb/mtest_enc2.c The LMDB checksum API is...

By the way, I would encourage you to copy the interface used in liblmdb/crypto.c and encapsulate it as a dynamic object, the way that sample does. That way the LMDB...

> I tried working with the `AeadMutInPlace` and `KeyInit` traits with LMDB, but I got a runtime error with the size of the initialization vector LMDB returns. It gives a...

> What should I do if an algorithm needs a bigger nonce (iv) like XChaCha20Poly1305 that requires a 20 bytes nonce? XChaCha20 is used to protect against nonce misuse in...

There is an open report claiming that AEAD is not working. I've not seen a reproducer for it. https://bugs.openldap.org/show_bug.cgi?id=9920 If your testing turns up any problems in LMDB please followup...