Skip to content
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

Update FFI API with key certification and signature customization functions. #2270

Merged
merged 8 commits into from
Sep 30, 2024

Conversation

ni4
Copy link
Contributor

@ni4 ni4 commented Sep 9, 2024

This PR update FFI API with a number of functions for signature customization or information retrieval. Also it adds functions to create self-certifications and other key certification creation.

Fixes #1085

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 85.17241% with 43 lines in your changes missing coverage. Please review.

Project coverage is 84.21%. Comparing base (7724682) to head (16b05a8).

Files with missing lines Patch % Lines
src/lib/rnp.cpp 85.55% 40 Missing ⚠️
src/librekey/rnp_key_store.cpp 77.77% 2 Missing ⚠️
src/lib/pgp-key.cpp 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2270      +/-   ##
==========================================
+ Coverage   84.02%   84.21%   +0.19%     
==========================================
  Files         114      114              
  Lines       23062    23324     +262     
==========================================
+ Hits        19377    19642     +265     
+ Misses       3685     3682       -3     
Flag Coverage Δ
84.21% <85.17%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ni4 ni4 force-pushed the ni4-1085-add-key-certify branch from a1c65ea to 1fc6ff0 Compare September 10, 2024 15:25
@ni4 ni4 marked this pull request as ready for review September 17, 2024 11:41
@ni4 ni4 marked this pull request as draft September 17, 2024 11:43
@ni4 ni4 force-pushed the ni4-1085-add-key-certify branch from 1fc6ff0 to ceeeeb8 Compare September 17, 2024 11:44
@ni4 ni4 marked this pull request as ready for review September 17, 2024 13:44
include/rnp/rnp.h Outdated Show resolved Hide resolved
include/rnp/rnp.h Outdated Show resolved Hide resolved
@ni4 ni4 force-pushed the ni4-1085-add-key-certify branch from ceeeeb8 to 736dc4c Compare September 18, 2024 08:13
@ni4 ni4 force-pushed the ni4-1085-add-key-certify branch from 736dc4c to 7b217be Compare September 26, 2024 13:47
@ni4 ni4 force-pushed the ni4-1085-add-key-certify branch from 7b217be to 16b05a8 Compare September 26, 2024 15:22
@ni4 ni4 requested a review from maxirmx September 27, 2024 07:59
Copy link
Member

@maxirmx maxirmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ni4
Copy link
Contributor Author

ni4 commented Sep 30, 2024

Let's merge it, having 2 approvals and green CI. Thanks all!

@ni4 ni4 merged commit 84975ea into main Sep 30, 2024
124 checks passed
@ni4 ni4 deleted the ni4-1085-add-key-certify branch September 30, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add feature to certify other keys.
3 participants