duino-coin icon indicating copy to clipboard operation
duino-coin copied to clipboard

[Feature request] - Change mining key encryption type

Open Tr43212 opened this issue 1 year ago • 3 comments

Description: Replaces Base64 encoding with SHA-256 hashing for enhanced security.

Implementation Details: Replace "base64" module with "hashlib" module.

Reason for Change: Base64 is not secure, while SHA-256 provides a secure, non-reversible hash suitable for sensitive data.

Cons: Make the users enter the mining key everytime they want to start a new mining sesssion

Tr43212 avatar Jan 27 '25 10:01 Tr43212

A hash is unsuited for this application. An encryption standard would be a better fit.

profpandaa avatar Jan 27 '25 16:01 profpandaa

I think OP is referring to the mining key encryption where the encrypted key is stored in Settings.cfg by python miner

JK-Rolling avatar Feb 04 '25 03:02 JK-Rolling

Still, a hash is unsuited. If you have to re-enter the mining key with every start anyway, why even save it?

profpandaa avatar Feb 05 '25 20:02 profpandaa