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

20241213-fips-check-refactor-assoc-arrays #8291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Dec 13, 2024

fips-check.sh fixes + enhancements:

  • change default WOLFSSL_REPO to the canonical upstream.
  • refactor tag calculation without bash associative arrays, for backward compat.
  • add support for fetching FIPS tags/branches into a persistent fips repo if one is found at ../fips.
  • use --shared in git clones where applicable.
  • always check out the master FIPS branch, for its tooling, and always make sure it's up to date with $FIPS_REPO.
  • after each fetch for a previously unknown tag, explicitly associate the tag with the FETCH_HEAD.

tested with wolfssl-multi-test.sh ... check-source-text check-shell-scripts, and with /home/douzzer/src/bash-3.2.57/bash ./fips-check.sh fips-ready and /home/douzzer/src/bash-3.2.57/bash ./fips-check.sh linuxv5

* change default WOLFSSL_REPO to the canonical upstream.
* refactor tag calculation without bash associative arrays, for backward compat.
* add support for fetching FIPS tags/branches into a persistent fips repo if one is found at ../fips.
* use --shared in git clones where applicable.
* always check out the master FIPS branch, for its tooling, and always make sure it's up to date with $FIPS_REPO.
* after each fetch for a previously unknown tag, explicitly associate the tag with the FETCH_HEAD.
@douzzer douzzer force-pushed the 20241213-fips-check-refactor-assoc-arrays branch from 901785a to 7c5451c Compare December 14, 2024 03:36
@douzzer douzzer assigned wolfSSL-Bot and unassigned douzzer Dec 14, 2024
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.

3 participants