-
Notifications
You must be signed in to change notification settings - Fork 57
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
Refactor encrypted_add_password(). #2309
Conversation
ni4
commented
Jan 24, 2025
- for better code quality
- closer to c++ style
- workaround GnuPG multiple SKESKs handling, causing random CI failures for us.
…rs where applicable.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2309 +/- ##
==========================================
+ Coverage 85.14% 85.17% +0.02%
==========================================
Files 118 118
Lines 22780 22793 +13
==========================================
+ Hits 19397 19413 +16
+ Misses 3383 3380 -3 ☔ View full report in Codecov by Sentry. |
2e29c5b
to
5b04f48
Compare
5b04f48
to
9533758
Compare
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.
LGTM
@@ -3340,11 +3301,8 @@ try { | |||
return RNP_ERROR_NULL_POINTER; | |||
} | |||
|
|||
*op = new rnp_op_verify_st(); | |||
rnp_ctx_init_ffi((*op)->rnpctx, ffi); | |||
*op = new rnp_op_verify_st(ffi, signature); | |||
(*op)->rnpctx.detached = true; |
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.
maybe it will be more consistent to add these params to constructor as well?
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.
Agree, thanks. Will address via another PR as this one is already merged.
Merging with two approvals. Thanks! |