Repository navigation
Release 0.6.0 - #50
Merged
Merged
Conversation
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.6.0, then 0.7.0-SNAPSHOT.
Merge with a merge commit or a rebase, not a squash: the commit "Release 0.6.0" has to reach
mainunchanged,etc/release.sh releasetags it there.Release notes, from CHANGELOG.md:
A receiver has to know the audience of its SETs. A Spring Boot receiver that configured
neither
expected-audiencenor a stream of its own accepted SETs the transmitter issued forother receivers; it no longer starts until it names an audience, a stream, or
set-validation.allow-any-audience. Two more lessons of the .NET port: revocations areremembered for a day instead of an hour, and a handler that runs longer than the dedup
lease keeps its SET, as the claim is renewed meanwhile (new API: SsfJtiDedupStore.renew,
SsfSetProcessor.setClaimRenewal). The conformance tests run release 5.3.2 of the OpenID
conformance suite, the first with the complete SSF receiver tests. The Quarkus extension
mirrors the new property, the TTL default and the claim renewal when it adopts this release.
Added
SsfJtiDedupStore.renewextends the claim of a SET whose handlers are still running, andSsfSetProcessor.setClaimRenewalrenews it at an interval; the in-memory and the JDBC storeimplement it, a custom store inherits a renewal that changes nothing. The Spring Boot starter
renews every third of
easyssf.receiver.dedup.lease, so the lease no longer has to be longer thanthe longest handler; the Quarkus extension can wire the same.
SsfSetProcessorisAutoCloseablenow,
close()stops the renewal thread.easyssf.receiver.set-validation.allow-any-audienceaccepts SETs whatever theiraudwhen thereceiver has no way to know the audience, for a transmitter that sends none. A property the Quarkus
extension mirrors.
Changed
easyssf.receiver.expected-audienceand without a stream it registers or looks up (
stream.management=receiver,stream.id) theSpring Boot receiver no longer starts with a warning but fails, naming the three ways out: the
property, the stream, or
set-validation.allow-any-audience=true. Where the audience comes from thestream, a SET that arrives before the stream is known is no longer accepted unchecked: a pushed one
is answered with
503, a polled one left unacknowledged, and the transmitter delivers it again. Astream without
audrejects SETs asinvalid_audienceunless the option is set.NimbusSsfSetVerifierkeeps accepting any audience when none is configured, RFC 8417 onlyrecommends
aud; a receiver built by hand decides.easyssf.receiver.resource-server.revocation-ttldefaults to24hinstead of1h: with the olddefault a revoked access token of a realm with longer-lived tokens was valid again after an hour.
The TTL has to be at least the maximum lifetime of the tokens it guards.
release-v5.3.2of the OpenID conformance suite, the first release withthe SSF receiver tests as they are on the suite's master, pinned by digest in
ConformanceSettingsof
easyssf-test-conformanceinstead of the suite's movinglatestbuild. TheConformanceworkflow runs every night.