Skip to content

Conversation

Keno
Copy link
Member

@Keno Keno commented Nov 22, 2023

MbedTLS is passing raw pointers to C without rooting ownership all over the place. This fixes these issues in the pk/rsa code and fills out the API a bit for round-trip testing, as well as adding GC-safe wrappers over the internal mp integers for downstream code to use. Of course, the unsafe GC pattern is repeated elsewhere in this package, so this is just a first PR that fixed the API surface that I happened to need.

MbedTLS is passing raw pointers to C without rooting ownership
all over the place. This fixes these issues in the pk/rsa code
and fills out the API a bit for round-trip testing, as well
as adding GC-safe wrappers over the internal mp integers for
downstream code to use. Of course, the unsafe GC pattern is
repeated elsewhere in this package, so this is just a first
PR that fixed the API surface that I happened to need.
@Keno Keno requested a review from quinnj November 22, 2023 16:18
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: Patch coverage is 93.18182% with 3 lines in your changes missing coverage. Please review.

Project coverage is 77.09%. Comparing base (41d1897) to head (868c9ea).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/rsa.jl 90.90% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #280      +/-   ##
==========================================
+ Coverage   76.22%   77.09%   +0.87%     
==========================================
  Files          12       12              
  Lines         753      786      +33     
==========================================
+ Hits          574      606      +32     
- Misses        179      180       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@devmotion
Copy link

@quinnj Bump 🙂

I would be very interested in the additions to the API (and the improvements, of course).

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.

2 participants