Skip to content

Fix `extract-openssl-digest' to handle non-prefixed openssl output - #32

Merged
rudolfochrist merged 1 commit into
masterfrom
fix-content-hash
Aug 19, 2026
Merged

Fix `extract-openssl-digest' to handle non-prefixed openssl output#32
rudolfochrist merged 1 commit into
masterfrom
fix-content-hash

Conversation

@rudolfochrist

@rudolfochrist rudolfochrist commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Usually the output of openssl dgst looks like this:

SHA1(install.sh)= a708a8b6996a18c3aed1d9d909f9c52477c72fba

But on some systems the prefix is missing and it seems that the digest is already passed to extract-openssl-digest. In that case we simply return the output without any processing.

Fixes #31

Usually the output of `openssl dgst` looks like this:

SHA1(install.sh)= a708a8b6996a18c3aed1d9d909f9c52477c72fba

But on some systems the prefix is missing and it seems that the digest
is already passt to `extract-openssl-digest'. In that case we simply
return the output without any processing.
@rudolfochrist
rudolfochrist merged commit 95884c1 into master Aug 19, 2026
3 checks passed
@rudolfochrist
rudolfochrist deleted the fix-content-hash branch August 19, 2026 11:54
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.

The value NIL is not of type NUMBER

1 participant