kenianbei / vcard_parser

Parses and validates vCard data according to RFC 6350 specification.
MIT License
6 stars 3 forks source link

Consider optional zeroize integration #6

Open tmpfs opened 2 years ago

tmpfs commented 2 years ago

My application that would use this library is dealing with private information and we use zeroize for securely zeroing memory on drop.

For the purposes of the application we need to treat contacts which would be represented by Vcard as secret and therefore would like to implement the Zeroize trait for Vcard.

Are you interested in a PR that adds zeroize support behind a feature flag?

kenianbei commented 2 years ago

Yep... I originally created this library just for use in a personal address book tui, but I've got time currently to work on it, so definitely open to any PRs or features you'd like to add.

tmpfs commented 2 years ago

Cool @kenianbei , i will take a look at implementing this.

I saw your TUI, it looks pretty cool, will try to take it for a spin one of these days.