chris-wood / odoh

Oblivious DoH library
MIT License
17 stars 4 forks source link

DecryptQuery test fails #12

Closed tanyav2 closed 4 years ago

tanyav2 commented 4 years ago

The error returned here is never checked, but when we do check it, it fails with the following result:

2020/09/03 13:58:43 Bailed here. Error deserializing public key
--- FAIL: Test_Sender_ODOHQueryEncryption (0.01s)
    odoh_test.go:218: <nil>

This is failing here: https://github.com/chris-wood/odoh/blob/master/odoh.go#L238

I can add a patch for this to my PR for fixing keyID.