openwallet-foundation / askar

Secure storage designed for Hyperledger Aries agents.
Apache License 2.0
63 stars 51 forks source link

fix(js): empty key entry list metadata in react-native #105

Closed genaris closed 1 year ago

genaris commented 1 year ago

This prevents a crash when fetching an existing key in iOS (and likely also in Android) and askar_key_entry_list_get_metadata returns NULL:

image

Not sure if the same should be applied to other parts of the code (it was already done in some other methods such as entryListGetTags and keyEntryListGetTags).