joylatten/opencryptoki — pull request #20 by mhcerri (2012-10-03 21:25:55+00:00)
Title: Fix: properly initialize user pin

Earlier versions of opencryptoki create the key structure when user logs
in for the first time. Since this is not true anymore, this patch
updates the TPM's init_pin function to properly set the user pin and to
update the token's flags.

This fixes the bug #3573924:
http://sourceforge.net/tracker/?func=detail&aid=3573924&group_id=128009&atid=710344

This is still a working-in-progress patch, so comments and suggestions are welcome.