[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16393 [Tor]: Include a readpassphrase implementation for Linux, Windows
#16393: Include a readpassphrase implementation for Linux, Windows
-----------------------------+--------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.7.x-final
Component: Tor | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------------
Comment (by dgoulet):
* 771949a3e0fb4e4f9f0e049bf77833884ff7469c
Maybe we would want a `memwipe` (if we have a good one for Windows) here
since `buf` can potentially contain a passphrase? Yes could be malformed
passphrase but still could contain sensitive data.
{{{
memset(buf, 0, sizeof(wchar_t)*buflen);
}}}
The rest lgtm! FYI, I couldn't test it because of a lack of Windows
machine so this is a code ACK.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16393#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs