Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/openssf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
contents: read
security-events: write
id-token: write
uses: diggsweden/reusable-ci/.github/workflows/security-openssf-scorecard.yml@1a7dcd9c5257495ebf141e4e4b4bac438a8aae56 # v2.0.0
uses: diggsweden/reusable-ci/.github/workflows/security-openssf-scorecard.yml@feat/branch-2.1
with:
publish-results: true
5 changes: 4 additions & 1 deletion .github/workflows/pullrequest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ permissions:

jobs:
pr-checks:
uses: diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@1a7dcd9c5257495ebf141e4e4b4bac438a8aae56 # v2.0.0
uses: diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@feat/branch-2.1
secrets: inherit # Pass org-level secrets (for private dependencies if any)
permissions:
contents: read # Clone repository and read source code
packages: read # Access GitHub Packages for Maven dependencies
security-events: write # Upload SpotBugs/dependency check results to Security tab
with:
project-type: maven
workflows-ref: feat/branch-2.1 # Use feature branch with enhanced linting
linters.megalint: false # Disable heavy MegaLinter
linters.justmiselint: true # Enable lightweight just+mise linting
linters.commitlint: false # Handled by justfile (lint-commit)
linters.licenselint: false # Handled by justfile (lint-license)

test:
needs: [pr-checks]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:

jobs:
release:
uses: diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@1a7dcd9c5257495ebf141e4e4b4bac438a8aae56 # v2.0.0
uses: diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@feat/branch-2.1
permissions:
contents: write # Create GitHub releases and tags
packages: write # Publish to GitHub Packages (backup)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@

[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/diggsweden/hash2curve-lib-java/badge?style=for-the-badge)](https://scorecard.dev/viewer/?uri=github.com/diggsweden/hash2curve-lib-java)

This library implements Hash2Curve and Hash2Scalar according to RFC 9380 for a number of common curves, including
common NIST curves.
This library implements Hash2Curve and Hash2Scalar according to RFC 9380 for a number of common curves, including common NIST curves.

Test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* The Hash to field points produced by hash_to_field(msg, 2).
*/
public record MapToCurvePoints(
ECPoint q0,
ECPoint q1) {
ECPoint q0,
ECPoint q1) {

}
4 changes: 2 additions & 2 deletions src/main/java/se/digg/crypto/hashtocurve/data/SqrtRatio.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
* The result of a sqrt_ration calculation.
*/
public record SqrtRatio(
boolean isQR,
BigInteger ratio) {
boolean isQR,
BigInteger ratio) {
}
Loading