-
Notifications
You must be signed in to change notification settings - Fork 0
Extract Sodium::Buffer into a separate gem? #19
Comments
@tarcieri can you point me to which functions it depends from libc? |
@luislavena it uses the https://www.gnu.org/software/libc/manual/html_node/Page-Lock-Functions.html The use case here is because it contains cryptographic keys or plaintexts that we'd like to keep confidential. It looks like the Windows equivalent is VirtualLock: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366895(v=vs.85).aspx |
I'm open to this. It totally didn't cross my mind that Windows doesn't have Any suggestions for a name? |
Well, "mlock" is available if you don't mind being boring ;) |
BUT IT'S SO MUCH MORE. |
What name did I throw out at beers |
Both names taken. Gem names are the new DNS. |
|
How about "poof"? ;) |
I haven't done this yet, have I? I'll do this. |
you haven't done it to my knowledge ;) |
|
Sodium::Buffer
is generally useful anywhere we have buffers that contain secrets we don't want to get swapped. I just had a coworker the other day asking about how to do that sort of thing ;)It would be really great if it could be extracted into a separate gem. Maybe we could get @luislavena to help figure out the Windows story, considering it presently depends on
FFI::Library::LIBC
The text was updated successfully, but these errors were encountered: