{"action":"opened","issue":{"url":"https://api.github.com/repos/googlesamples/android-AsymmetricFingerprintDialog/issues/5","repository_url":"https://api.github.com/repos/googlesamples/android-AsymmetricFingerprintDialog","labels_url":"https://api.github.com/repos/googlesamples/android-AsymmetricFingerprintDialog/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/android-AsymmetricFingerprintDialog/issues/5/comments","events_url":"https://api.github.com/repos/googlesamples/android-AsymmetricFingerprintDialog/issues/5/events","html_url":"https://github.com/googlesamples/android-AsymmetricFingerprintDialog/issues/5","id":179450338,"number":5,"title":"No fingerprint enrolled crash","user":{"login":"selmanon","id":2206036,"avatar_url":"https://avatars.githubusercontent.com/u/2206036?v=3","gravatar_id":"","url":"https://api.github.com/users/selmanon","html_url":"https://github.com/selmanon","followers_url":"https://api.github.com/users/selmanon/followers","following_url":"https://api.github.com/users/selmanon/following{/other_user}","gists_url":"https://api.github.com/users/selmanon/gists{/gist_id}","starred_url":"https://api.github.com/users/selmanon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selmanon/subscriptions","organizations_url":"https://api.github.com/users/selmanon/orgs","repos_url":"https://api.github.com/users/selmanon/repos","events_url":"https://api.github.com/users/selmanon/events{/privacy}","received_events_url":"https://api.github.com/users/selmanon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T10:06:08Z","updated_at":"2016-09-27T10:06:08Z","closed_at":null,"body":"Got this crash after restarting the emulator :\r\n```\r\nComponentInfo{com.example.android.asymmetricfingerprintdialog/com.example.android.asymmetricfingerprintdialog.MainActivity}: java.lang.RuntimeException: \r\njava.security.InvalidAlgorithmParameterException: java.lang.IllegalStateException: At least one fingerprint must be enrolled to create keys requiring user authentication for every use\r\n                                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)\r\n                                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)\r\n                                                                                                     at android.app.ActivityThread.-wrap11(ActivityThread.java)\r\n                                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)\r\n                                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                                                                     at android.os.Looper.loop(Looper.java:148)\r\n                                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5417)\r\n                                                                                                     at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n                                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n                                                                                                  Caused by: java.lang.RuntimeException: java.security.InvalidAlgorithmParameterException: java.lang.IllegalStateException: At least one fingerprint must be enrolled to create keys requiring user authentication for every use\r\n                                                                                                     at com.example.android.asymmetricfingerprintdialog.MainActivity.createKeyPair(MainActivity.java:194)\r\n                                                                                                     at com.example.android.asymmetricfingerprintdialog.MainActivity.onCreate(MainActivity.java:93)\r\n                                                                                                     at android.app.Activity.performCreate(Activity.java:6237)\r\n                                                                                                     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)\r\n                                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)\r\n                                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) \r\n                                                                                                     at android.app.ActivityThread.-wrap11(ActivityThread.java) \r\n                                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) \r\n                                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102) \r\n                                                                                                     at android.os.Looper.loop(Looper.java:148) \r\n                                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5417) \r\n                                                                                                     at java.lang.reflect.Method.invoke(Native Method) \r\n                                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) \r\n                                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) \r\n                                                                                                  Caused by: java.security.InvalidAlgorithmParameterException: java.lang.IllegalStateException: At least one fingerprint must be enrolled to create keys requiring user authentication for every use\r\n                                                                                                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.initialize(AndroidKeyStoreKeyPairGeneratorSpi.java:339)\r\n                                                                                                     at java.security.KeyPairGenerator$KeyPairGeneratorImpl.initialize(KeyPairGenerator.java:284)\r\n                                                                                                     at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:192)\r\n                                                                                                     at com.example.android.asymmetricfingerprintdialog.MainActivity.createKeyPair(MainActivity.java:183)\r\n                                                                                                     at com.example.android.asymmetricfingerprintdialog.MainActivity.onCreate(MainActivity.java:93) \r\n                                                                                                     at android.app.Activity.performCreate(Activity.java:6237) \r\n                                                                                                     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) \r\n                                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) \r\n                                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) \r\n                                                                                                     at android.app.ActivityThread.-wrap11(ActivityThread.java) \r\n                                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) \r\n                                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102) \r\n                                                                                                     at android.os.Looper.loop(Looper.java:148) \r\n                                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5417) \r\n                                                                                                     at java.lang.reflect.Method.invoke(Native Method) \r\n                                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) \r\n                                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) \r\n                                                                                                  Caused by: java.lang.IllegalStateException: At least one fingerprint must be enrolled to create keys requiring user authentication for every use\r\n                                                                                                     at android.security.keystore.KeymasterUtils.addUserAuthArgs(KeymasterUtils.java:115)\r\n                                                                                                     at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.initialize(AndroidKeyStoreKeyPairGeneratorSpi.java:335)\r\n                                                                                                     at java.security.KeyPairGenerator$KeyPairGeneratorImpl.initialize(KeyPairGenerator.java:284) \r\n                                                                                                     at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:192) \r\n                                                                                                     at com.example.android.asymmetricfingerprintdialog.MainActivity.createKeyPair(MainActivity.java:183) \r\n                                                                                                     at com.example.android.asymmetricfingerprintdialog.MainActivity.onCreate(MainActivity.java:93) \r\n                                                                                                     at android.app.Activity.performCreate(Activity.java:6237) \r\n                                                                                                     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) \r\n                                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) \r\n                                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) \r\n                                                                                                     at android.app.ActivityThread.-wrap11(ActivityThread.java) \r\n                                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) \r\n                                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102) \r\n                                                                                                     at android.os.Looper.loop(Looper.java:148) \r\n                                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5417) \r\n                                                                                                     at java.lang.reflect.Method.invoke(Native Method) \r\n                                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) \r\n                                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) \r\n\r\n```"}}
{"actor":{"display_login":"selmanon"}}