-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Major refactor to the SCRAM project
Signed-off-by: Jorge Solórzano <[email protected]>
- Loading branch information
Showing
102 changed files
with
4,496 additions
and
3,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | ||
|
||
name: Java CI with Maven | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build with Maven | ||
run: ./mvnw -B verify --file pom.xml | ||
|
||
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive | ||
- name: Update dependency graph | ||
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
## [Unreleased] | ||
|
||
## 3.0 - 2024-04-03 | ||
### :boom: Breaking changes | ||
- :warning: Full refactor of the `scram` java implementation, this release is compatible with Java 8+, but it's incompatible with previous releases :warning: | ||
|
||
### :rocket: New features | ||
- Fully rewrite the `ScramClient` allowing negotiation of channel-binding properly. | ||
- Create Multi-release Modular JARs, the modules names are: | ||
- `com.ongres.scram.common` for the common scram messages. | ||
- `com.ongres.scram.client` for the scram client implementation. | ||
- Add `StringPreparation.POSTGRESQL_PREPARATION`, for any error in SASL preparation, it falls back to return the raw string. | ||
- Now the released jars are reproducible. | ||
- Publish CycloneDX SBOM. | ||
- Implementation of `tls-server-end-point` channel binding data extraction. | ||
|
||
### :building_construction: Improvements | ||
- Update of the `saslprep` dependency to 2.1. | ||
- Now the password is passed as a `char[]`. | ||
- Improve Javadoc documentation. | ||
|
||
### :ghost: Maintenance | ||
- Migrate the main repo back to GitHub. | ||
|
||
# 2.1 | ||
|
||
* Updated saslprep to version 1.1 to remove a build dependency coming from stringprep module | ||
|
||
# 2.0 | ||
|
||
* Out of beta testing | ||
|
||
# 2.0-beta3 | ||
|
||
* Fixed licenses issues | ||
|
||
# 2.0-beta2 | ||
|
||
* Added saslprep tests | ||
|
||
# 2.0-beta1 | ||
|
||
* Add new dependency StringPrep | ||
|
||
# 1.9-beta1 | ||
|
||
* API change to be compatible with Java 7 | ||
* Added standard SASLPrep | ||
* Failover to bouncy castle implementation of PBKDF2WithHmacSHA256 to support Oracle JDK 7 | ||
|
||
# 1.0.0-beta.2 | ||
|
||
* Fix maven issue and javadoc | ||
|
||
# 1.0.0-beta.1 | ||
|
||
* First version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.