bitcoinlib icon indicating copy to clipboard operation
bitcoinlib copied to clipboard

encrypting privatekeys field in sqlalchemy

Open alinik opened this issue 3 years ago • 1 comments
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

alinik avatar Jan 06 '22 11:01 alinik

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

mccwdev avatar Jan 09 '22 16:01 mccwdev

All private key fields can be encrypted now, see commit 553df0e72892c35f217375b6704f240bace2d3aa

mccwdev avatar May 07 '23 19:05 mccwdev