rpm-rs / rpm

Other
47 stars 26 forks source link

Support signature with passphrase-protected PGP keys #185

Closed olivierlemasle closed 1 year ago

olivierlemasle commented 1 year ago

Add method with_key_passphrase to signature::pgp::Signer, to provide the passphrase when the PGP secret key is passphrase-protected.

I'm to suggestions for a better API.

📜 Checklist

Closes #179

olivierlemasle commented 1 year ago

CI failures are related to MSRV, and will be fixed with #184.

olivierlemasle commented 1 year ago

@dralley I've moved the keys but I've created a separate script to re-generate them, because I was unsure it fitted in configure_certs.sh. Please tell me if you prefer otherwise.

olivierlemasle commented 1 year ago

Thank you for the review!