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

139 inmemory clear mode sa encryption is off by 2 bytes used in unit tests #173

Conversation

dccutrig
Copy link
Contributor

No description provided.

@dccutrig dccutrig added bug Something isn't working kmc NASA JPL KMC labels Jun 22, 2023
@dccutrig dccutrig requested a review from jlucas9 June 22, 2023 17:42
@dccutrig dccutrig self-assigned this Jun 22, 2023
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tangential to this: Is there a case to take SA_PLAINTEXT and other things defined in crypto_config.h and change them to enums vs #defines?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah I think so, we should work on that consistency across the board. Can likely accomplish as part of #129

@codecov-commenter
Copy link

Codecov Report

Merging #173 (ff42980) into dev (a6eb64b) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #173      +/-   ##
==========================================
+ Coverage   86.12%   86.18%   +0.06%     
==========================================
  Files          29       29              
  Lines        7890     7896       +6     
==========================================
+ Hits         6795     6805      +10     
+ Misses       1095     1091       -4     
Impacted Files Coverage Δ
src/core/crypto_tc.c 88.55% <100.00%> (+0.19%) ⬆️
test/unit/ut_tc_apply.c 99.52% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Collaborator

@jlucas9 jlucas9 left a comment

Choose a reason for hiding this comment

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

Approved! Manually verified tests passing as well

@dccutrig dccutrig merged commit 88a4a0e into dev Jun 22, 2023
8 checks passed
@jlucas9 jlucas9 deleted the 139-inmemory-clear-mode-sa-encryption-is-off-by-2-bytes-used-in-unit-tests branch June 22, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working kmc NASA JPL KMC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inmemory Clear Mode SA Encryption is Off By 2 Bytes (used in unit tests)
3 participants