-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uses QByteArray to store private key. #727
Conversation
Removes QSslkey. See #268 Signed-off-by: Camila San <[email protected]>
Is this then working now across devices? |
Should we use mlock for the private key, to prevent swapping to disc? On Windows you can use VirtualLock for it. |
I would assume yes. But let's make sure...
Yes, let's do it. Thanks. |
(and no, using QByteArray is insecure) |
@tcanabrava Why QByteArray is insecure? That is why used QSslkey in the first place? |
@tcanabrava replied to me in private.
If you use encryption, the memory where the data is encrypted have to be encrypted too. https://security.stackexchange.com/questions/20322/why-encrypt-data-in-memory#20327 |
Ping me, once this is finished. As far as I read/understand, there needs to be changes? |
Yup, will do. Thanks @tobiasKaminsky. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested Linux+Android still works.
Fixes #268