uport-project / kotlin-did-jwt

Create and verify uPort and DID compliant JWTs in Kotlin
https://developer.uport.me
Apache License 2.0
8 stars 6 forks source link

bugfix: resolve publicKey entries with null chars in their names #27

Closed mirceanis closed 5 years ago

mirceanis commented 5 years ago

This fixes #26

The entries were being ignored because the string containing null chars was not matching the regex used to extract the attribute details.

A test was added to validate this scenario