[PATCH gnupg] scd: Fix unblock (via a Reset Code) with KDF

Ángel angel at pgp.16bits.net
Wed Apr 28 01:12:47 CEST 2021

Maybe it would be desirable to use an
enum salt_types { Reset_Code_salt, User_PIN_salt, Admin_PIN_salt } ?

Directly passing those literals look quite fragile maintainability-

Good job figuring it out, Kirill!

More information about the Gnupg-devel mailing list