lib/crypt.h: provide list of supported hash algorithms #217
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.45) × (1 − Review Confidence (0.89)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 102 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 2 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.277
Real PR Conversation Timeline
2 comments
test/crypt-get-supported-hash-methods.c
"Perhaps, "compiled and supported ...", because "provided" and "real" looks synonymous to me. Or, s/supported/reported/ (by crypt_get_supported_hash_methods)."
clarifying
weight: 0.45
test/crypt-get-supported-hash-methods.c
"Or maybe "expected" instead of "real"? But I like "compiled"/"supported" "
clarifying
weight: 0.45
vt-alt
kotopesutility
IMHO, it might be useful for users to get a list of hashing algorithms supported by the current build. I decided to use a dictionary-like structure so that users could match the algorithm name with the corresponding prefix.
So, I think, user can iterate over this list until they get {NULL, NULL}:
https://github.com/altlinux/pyxcrypt/commit/c56c9dba3fe6a2518db5919c1fb7e1c95c4e039b#diff-43dec635b9590d1a1e5874610e291500ffc204b411a10313a60d099106452f47R126
But they will have to check if the linked version of libxcrypt is higher than some value (where this list was implemented). Or libxcrypt can also provide some var to check with ``
#ifdef``