Skip to content

Conversation

@vinniefalco
Copy link
Member

No description provided.

@cppalliance-bot
Copy link

cppalliance-bot commented Dec 29, 2025

An automated preview of the documentation is available at https://44.capy.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2025-12-30 01:56:49 UTC

@cppalliance-bot
Copy link

cppalliance-bot commented Dec 29, 2025

GCOVR code coverage report https://44.capy.prtest3.cppalliance.org/gcovr/index.html
LCOV code coverage report https://44.capy.prtest3.cppalliance.org/genhtml/index.html
Coverage Diff https://44.capy.prtest3.cppalliance.org/gcovr/coverage_diff.txt

Build time: 2025-12-30 01:58:34 UTC

@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

❌ Patch coverage is 88.88889% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.95%. Comparing base (6e48384) to head (1eb1f7d).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
src/bcrypt/hash.cpp 77.41% 14 Missing ⚠️
src/bcrypt/crypt.cpp 86.48% 10 Missing ⚠️
src/bcrypt/base64.cpp 92.75% 5 Missing ⚠️
src/bcrypt/error.cpp 54.54% 5 Missing ⚠️
src/bcrypt/random.cpp 61.53% 5 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #44      +/-   ##
===========================================
+ Coverage    75.69%   77.95%   +2.25%     
===========================================
  Files           28       36       +8     
  Lines         1699     2050     +351     
===========================================
+ Hits          1286     1598     +312     
- Misses         413      452      +39     
Files with missing lines Coverage Δ
include/boost/capy/async_result.hpp 96.00% <ø> (ø)
include/boost/capy/bcrypt/error.hpp 100.00% <100.00%> (ø)
include/boost/capy/bcrypt/result.hpp 100.00% <100.00%> (ø)
src/bcrypt/blowfish.cpp 100.00% <100.00%> (ø)
src/bcrypt/base64.cpp 92.75% <92.75%> (ø)
src/bcrypt/error.cpp 54.54% <54.54%> (ø)
src/bcrypt/random.cpp 61.53% <61.53%> (ø)
src/bcrypt/crypt.cpp 86.48% <86.48%> (ø)
src/bcrypt/hash.cpp 77.41% <77.41%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6e48384...1eb1f7d. Read the comment docs.

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

- Implements bcrypt algorithm with Blowfish cipher
- Platform-specific CSPRNG: Windows BCrypt, macOS Security, Linux getrandom
- Public API: gen_salt(), hash(), compare(), get_rounds()
- Returns bcrypt::result (fixed 61-byte buffer, no heap allocation)
- Error handling via boost::system::error_code for untrusted input
- Full test coverage with known test vectors
- Extend clang friend template workaround to Apple clang
@vinniefalco vinniefalco merged commit 1eb1f7d into cppalliance:develop Dec 30, 2025
64 checks passed
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