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

attribute changed events with null chars in name are not counted #26

Closed mirceanis closed 5 years ago

mirceanis commented 5 years ago

Scenario

val resolver = EthrDidResolver.Builder().addNetwork(Networks.mainnet).build()
val ddo = resolver.resolve("0xE6Fe788d8ca214A080b0f6aC7F48480b2AEfa9a6")

Expected behavior

ddo should contain a PublicKeyEntry of type secp256k1VerificationKey2018 with a publicKeyHex value of 0x0295dda1dca7f80e308ef60155ddeac00e46b797fd40ef407f422e88d2467a27eb according to this tx: 0x9d770e99da67685f7af83a2743962b5f02335c8abb069ef511cc982864aa8bee

Actual behavior

The default DID document is returned, without that key entry.