-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Hybrid Encryption/Decryption to CLI #1478
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1478 +/- ##
==========================================
- Coverage 93.74% 93.34% -0.40%
==========================================
Files 235 238 +3
Lines 42679 43318 +639
==========================================
+ Hits 40011 40437 +426
- Misses 2668 2881 +213 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair amount of code duplication, but we will get rid of old IPA stuff
/*let files = [ | ||
&output_dir.path().join("helper1.enc"), | ||
&output_dir.path().join("helper2.enc"), | ||
&output_dir.path().join("helper3.enc"), | ||
]; | ||
|
||
let world = TestWorld::default(); | ||
|
||
let mk_private_keys = [ | ||
"53d58e022981f2edbf55fec1b45dbabd08a3442cb7b7c598839de5d7a5888bff", | ||
"3a0a993a3cfc7e8d381addac586f37de50c2a14b1a6356d71e94ca2afaeb2569", | ||
"1fb5c5274bf85fbe6c7935684ef05499f6cfb89ac21640c28330135cc0e8a0f7", | ||
];*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/*let files = [ | |
&output_dir.path().join("helper1.enc"), | |
&output_dir.path().join("helper2.enc"), | |
&output_dir.path().join("helper3.enc"), | |
]; | |
let world = TestWorld::default(); | |
let mk_private_keys = [ | |
"53d58e022981f2edbf55fec1b45dbabd08a3442cb7b7c598839de5d7a5888bff", | |
"3a0a993a3cfc7e8d381addac586f37de50c2a14b1a6356d71e94ca2afaeb2569", | |
"1fb5c5274bf85fbe6c7935684ef05499f6cfb89ac21640c28330135cc0e8a0f7", | |
];*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I'm basically trying to avoid relying on the other code at all, so lots of duplication
I'm going to tidy this up in a bit, but the functionality is there I believe. Let me know if I missed something important