Skip to content

Commit 94632eb

Browse files
committed
Merge branch 'master' into replace-pyopenssl
2 parents ff68add + 3fa11ee commit 94632eb

File tree

8 files changed

+306
-173
lines changed

8 files changed

+306
-173
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
##### The feature or problem addressed by this PR
44

5-
<!-- an explaination of the issue that is being resolved with this PR -->
6-
<!-- or, an explaination of the feature that is being added with this PR -->
5+
<!-- an explanation of the issue that is being resolved with this PR -->
6+
<!-- or, an explanation of the feature that is being added with this PR -->
77
<!-- or, link to an issue describing the problem -->
88

99

CHANGELOG.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
4+
## 7.5.3 (2025-10-04)
5+
6+
- #973 Fix prepare_for_negotiated_authenticate to avoid double signing redirect requests
7+
8+
39
## 7.5.2 (2025-02-10)
410

511
- Include the XSD of the XML Encryption Syntax and Processing Version 1.1 to the schema validator
@@ -8,7 +14,7 @@
814
## 7.5.1 (2025-02-10)
915

1016
- deps: restrict pyOpenSSL up to v24.2.1 until it is replaced
11-
- deps: update dependncies for the lockfile and examples
17+
- deps: update dependencies for the lockfile and examples
1218

1319

1420
## 7.5.0 (2024-01-30)
@@ -46,9 +52,9 @@
4652
## 7.3.0 (2023-02-14)
4753

4854
- During metadata generation, render extensions both for EntityDescriptor and IdPSSODescriptor
49-
- Fix compatibility with certain SAML implementation that inflate messasges on the POST binding
55+
- Fix compatibility with certain SAML implementation that inflate messages on the POST binding
5056
- Update the SWAMID entity category requirements
51-
- Fix check for NameID when it originates from an encrypted asssertion
57+
- Fix check for NameID when it originates from an encrypted assertion
5258
- Add support for pymongo `>=3.5` and `<5`
5359
- Update README with supported specifications
5460
- Remove dependency on the six package
@@ -131,7 +137,7 @@
131137
- Refactor AuthnResponse::authn_info to consider DeclRef equivalent to ClassRef.
132138
- Ensure creation of multiple ePTIDs is handled correctly.
133139
- Improve signature checks by ensuring the Object element is absent, enforcing allowed
134-
transform aglorithms, enforcing allowed canonicalization methods and requiring the
140+
transform algorithms, enforcing allowed canonicalization methods and requiring the
135141
enveloped-signature transform to be present.
136142
- mdstore: Make unknown metadata extensions available through the internal metadata.
137143
- mdstore: Fix the exception handler of the InMemoryMetaData object.
@@ -228,7 +234,7 @@
228234
part of its metadata.
229235
- CI/CD: Use Ubuntu bionic as the host to run the CI/CD process.
230236
- CI/CD: Pre-releases are now available on [test.pypi.org][pypi.test.pysaml2]. Each
231-
commit/merge on the master branch autotically creates a new pre-release. To install a
237+
commit/merge on the master branch automatically creates a new pre-release. To install a
232238
prelease, run:
233239

234240
```sh
@@ -249,7 +255,7 @@
249255
- Fix wrong identifiers for ecdsa algos
250256
- Fix automatic inversion of attribute map files
251257
- Factor out common codepaths in attribute_converter
252-
- Remove uneeded exception logging
258+
- Remove unneeded exception logging
253259
- Docs: Update configuration options documentation
254260
- Examples: Support both str and bytes in SAML requests on the example idp
255261
- Examples: Update to key generation to 2048 bits

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
100100
5. Create your patch, **including appropriate test cases**.
101101
Remember to follow the [Coding Rules](#coding-rules).
102102

103-
6. Run the full test suite, as described in the [developer documentation][dev-doc],
103+
6. Run the full test suite, as described in the [DEVELOPERS.md](DEVELOPERS.md),
104104
and ensure that all tests pass.
105105

106106
7. Commit your changes using a descriptive commit message.
@@ -146,4 +146,4 @@ keep these rules in mind as you are working:
146146
* All public API methods **must be documented**.
147147
* We follow [Black's style guide](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html),
148148
and wrap all code at **120 characters**.
149-
Pre-configured tools to automatically lint and format code are available, see [DEVELOPER.md](DEVELOPER.md).
149+
Pre-configured tools to automatically lint and format code are available, see [DEVELOPERS.md](DEVELOPERS.md).

DEVELOPERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ pyenv versions --bare | xargs pyenv local
2424
This project uses [`poetry`] to manage dependencies and virtual environments.
2525
See `poetry`'s [installation instructions] on how to install `poetry` on your system.
2626

27-
I have opted to use [`pipx`] to install and manage `poerty` itself.
27+
I have opted to use [`pipx`] to install and manage `poetry` itself.
2828
I also use `pipx` to manage other python executables that I want readily available on my system.
2929

3030
Once `poetry` is available on your system, install the development dependencies:

docs/howto/config.rst

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -221,26 +221,30 @@ contact_person
221221
^^^^^^^^^^^^^^
222222

223223
This is only used by *make_metadata.py* when it constructs the metadata for
224-
the service described by the configuration file.
225-
This is where you describe who can be contacted if questions arise
226-
about the service or if support is needed. The possible types are according to
227-
the standard **technical**, **support**, **administrative**, **billing**
228-
and **other**.::
224+
the service described by the configuration file. This is where you describe
225+
who can be contacted if questions arise about the service or if support is
226+
needed.
227+
228+
Note that `contact_type` is required for a valid schema. The possible types
229+
are according to the standard **technical**, **support**, **administrative**,
230+
**billing** and **other**::
229231

230232
contact_person: [
231233
{
232-
"givenname": "Derek",
233-
"surname": "Jeter",
234+
"given_name": "Derek",
235+
"sur_name": "Jeter",
234236
"company": "Example Co.",
235-
"mail": ["[email protected]"],
236-
"type": "technical",
237+
"email_address": ["[email protected]"],
238+
"telephone_number": ["123-456-789", "+1 234 567 89"]
239+
"contact_type": "technical",
237240
},
238241
{
239-
"givenname": "Joe",
240-
"surname": "Girardi",
242+
"given_name": "Joe",
243+
"sur_name": "Girardi",
241244
"company": "Example Co.",
242-
"mail": "[email protected]",
243-
"type": "administrative",
245+
"email_address": ["[email protected]", "[email protected]"]
246+
"telephone_number": ["987-654-321"]
247+
"contact_type": "administrative",
244248
},
245249
]
246250

@@ -404,7 +408,7 @@ file system.
404408
When the parameter *check_validity* is set to False metadata that have expired
405409
will be accepted as valid.
406410

407-
When the paramenter *disable_ssl_certificate_validation* is set to True the
411+
When the parameter *disable_ssl_certificate_validation* is set to True the
408412
validity of ssl certificate will be skipped.
409413

410414
When using a remote metadata source, the `node_name` option can be set to
@@ -522,7 +526,7 @@ accepted_time_diff
522526

523527
If your computer and another computer that you are communicating with are not
524528
in sync regarding the computer clock, then here you can state how big a
525-
difference you are prepared to accept.
529+
difference in seconds you are prepared to accept.
526530

527531
.. note:: This will indiscriminately affect all time comparisons.
528532
Hence your server may accept a statement that in fact is too old.
@@ -1481,11 +1485,11 @@ We start with a simple but fairly complete Service provider configuration::
14811485
}
14821486
"contact_person": [
14831487
{
1484-
"givenname": "Roland",
1485-
"surname": "Hedberg",
1486-
"phone": "+46 90510",
1487-
"mail": "[email protected]",
1488-
"type": "technical",
1488+
"given_name": "Roland",
1489+
"sur_name": "Hedberg",
1490+
"telephone_number": ["+46 90510"],
1491+
"email_address": ["[email protected]"],
1492+
"contact_type": "technical",
14891493
},
14901494
]
14911495
}
@@ -1539,11 +1543,11 @@ A slightly more complex configuration::
15391543
}
15401544
"contact_person": [
15411545
{
1542-
"givenname": "Roland",
1543-
"surname": "Hedberg",
1544-
"phone": "+46 90510",
1545-
"mail": "[email protected]",
1546-
"type": "technical",
1546+
"given_name": "Roland",
1547+
"sur_name": "Hedberg",
1548+
"telephone_number": ["+46 90510"],
1549+
"email_address": ["[email protected]"],
1550+
"contact_type": "technical",
15471551
},
15481552
]
15491553
}

0 commit comments

Comments
 (0)