bitcoinlib
bitcoinlib copied to clipboard
encrypting privatekeys field in sqlalchemy
trafficstars
Hi, Is there any plan to protect privatekeys (and maybe wif) Columns in Databases? There is a good way SymmectricClientEncyprtion for postgresql. I think we can add this feature by modifing class DbKey. Thanks
Yes that might be a good idea, I will take a look into it.
It is possible to encrypt the full database using sqlcipher at the moment, but this needs some extra install: https://bitcoinlib.readthedocs.io/en/latest/source/_static/manuals.sqlcipher.html
All private key fields can be encrypted now, see commit 553df0e72892c35f217375b6704f240bace2d3aa