koverstreet / bcachefs-tools

http://bcachefs.org
GNU General Public License v2.0
116 stars 88 forks source link

Rewrite rust key handling #281

Closed tmuehlbacher closed 2 months ago

tmuehlbacher commented 2 months ago

I think this is somewhat more idiomatic and also adds zeroize, which the current Rust code is missing when handling passphrases.

Please let me know if this is a direction that you like for that code. :)