Android Keystore Error “could not generate key in keystore”

前端 未结 4 1502
情话喂你
情话喂你 2021-02-01 01:59

I get an error trying to generate a key for certain devices. I\'m able to reproduce the error on a Samsung Galaxy Note running 4.4.2.

java.lang.IllegalStateExcep         


        
4条回答
  •  一整个雨季
    2021-02-01 02:30

    While I don't know the full answer, I can help continue your search. The binder implementation on the other side of mBinder is the native keystore. If I recall fully, it's behavior is to either 1) support key operations at a software level, or 2) delegate to a OEM-provided keymaster library that (presumably) interfaces to the OEM's hardware-backed keystore. More info on this here, here, and here.

    Note: I'll forgo SO's normal policy of pulling the external link content into the answer, since I'm linking you out to three articles that are all >1 page and it seems a bit ridiculous to post a 6-page answer ;-)

提交回复
热议问题