Closed eriktaubeneck closed 2 weeks ago
@shinta-liem can you take a look? I can't seem to decrypt with the files encrypted in python. We'll need to make sure this works, otherwise we'll have files that we can't decrypt.
@eriktaubeneck Fixed the encryption error. Can you re-test? Thanks!
working now! I'll spend some time trying to see if we can get an integration test that does this in CI, but for now we should be good. @shinta-liem if you can review again, we can merge this.
This updates the python script so that it can encrypt with 3 different helper public keys.
I updated this so that I could test decryption, but it's not working unfortuantely.
Encrypt and Decrypt in Rust (Working)
produces no diff between
tmp/raw_reports.txt
andtmp/out.dec
.Encrypt in Python, Decrypt in Rust (Not working)
The error message isn't super clear, but it fails on
so it seems there's an issue with the encrypted report.
Reproducing
raw_reports.txt
:network.toml
:Private Keys