Skip to content

Commit 7299f7d

Browse files
authored
Merge branch 'MOODLE_405_STABLE' into wip-idp
2 parents 2742b30 + d64ee5d commit 7299f7d

File tree

4,002 files changed

+671411
-199445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,002 files changed

+671411
-199445
lines changed

.extlib/UPGRADE.md

+12-61
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,28 @@ SimpleSAMLphp
88
We need to manually build simplesaml sometimes as the release contains dependencies we don't want.
99

1010
### Get upstream simplesaml.
11+
Make sure to checkout the latest version tag
1112
```bash
1213
git clone [email protected]:simplesamlphp/simplesamlphp.git simplesamlphp
13-
14-
cd /var/simplesamlphp
15-
cp -r config-templates/* config/
16-
cp -r metadata-templates/* metadata/
14+
cd simplesamlphp
15+
git checkout v2.3.3
1716
```
1817
### Install composer
19-
```bash
20-
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
21-
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
22-
php composer-setup.php
23-
php -r "unlink('composer-setup.php');"
24-
```
25-
### Remove any dependencies we don't want.
26-
Remove symfony/config/Tests/Fixtures as PHPLint fails due to unexpected end of file error in Fixtures/ParseError.php.
27-
In 1.17 build, we removed symfony/polyfill-php70 from composer.lock.
18+
[Composer Install Guide](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos)
2819

2920
### Install the external dependencies (excluding dev)
3021
Make sure you run the install with "--no-dev" as below.
22+
Remove any depdnencies we don't want.
3123
```bash
32-
php composer.phar install --no-dev
33-
npm install
34-
npm run build
24+
composer install --no-dev
25+
composer remove phpmailer/phpmailer
3526
```
3627

37-
### Review simplesamlphp bin/build-release.sh
38-
Simplesamlphp uses a bin/build-release.sh to generate their release
39-
This script removes a number of system files that are not required like .gitignore, composer.* files, node_modules directory.
40-
41-
Review the latest version of this file and remove anything not required:
42-
https://github.com/simplesamlphp/simplesamlphp/blob/master/bin/build-release.sh
28+
### Clean Files
29+
See the cleaning step in the [workflow](https://github.com/simplesamlphp/simplesamlphp/blob/master/.github/workflows/build-release.yml), At the time of writing this deletes everything referenced in `.gitattributes`. We also remove
30+
* `composer.json`
31+
* `composer.lock`
32+
* `modules/.gitignore`
4333
### Copy into auth_saml2
4434
Copy the updated simplesaml files into auth/saml/.extlib/simplesaml.
4535

@@ -59,45 +49,6 @@ Update the version of SSP in the supported branches. Make sure you do this is AL
5949
even if you have only updated SSP in one branch. It shouldn't matter which README you look at they
6050
should be consistent.
6151

62-
# Using a published release
63-
Sometimes you might get away with using a published release with the following instructions.
64-
65-
Do not copy & paste blindly, this is the general idea only.
66-
67-
```bash
68-
cd auth/saml2/.extlib
69-
70-
# We will delete stuff and compare later.
71-
# Ensure everything is commited into git.
72-
git checkout -b issueXXX_extlib-upgrade
73-
git status
74-
```
75-
76-
```bash
77-
rm -rf simplesamlphp
78-
79-
curl -L https://simplesamlphp.org/download?latest | tar vxz
80-
mv simplesamlphp-1.15.4 simplesamlphp
81-
rm -rf simplesamlphp/config
82-
rm -rf simplesamlphp/metadata
83-
84-
git add simplesamlphp
85-
git commit -m 'Issue #XXX - Updating with code from simplesamlphp-1.15.4' # Customise the message!
86-
87-
# Check what was customised when this document was updated, you may want to cherry pick it.
88-
git show a32804374772709d65264ab823f8a3b3adfc6391
89-
90-
# Analyse what is different, backport modifications as needed.
91-
git diff master..HEAD
92-
93-
# Analyse your changes, try to keep as close as possible to the upstream code.
94-
git diff HEAD
95-
96-
# Done!
97-
git add simplesamlphp
98-
git commit -m 'Issue #XXX - Backporting modifications for auth_saml2' # Customise the message!
99-
```
100-
10152
# Testing locally
10253
1> Set up IDP locally as suggested here: https://simplesamlphp.org/docs/stable/simplesamlphp-idp
10354

.extlib/simplesamlphp/SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The 1.19 branch will receive security and critical bug fixes until the end of 20
1212

1313
## Reporting a Vulnerability
1414

15-
In case you find a vulnerability in SimpleSAMLphp, or you want to confirm a possible security issue in the software, please get in touch with us through [UNINETT's CERT team](https://www.uninett.no/cert). Please use our PGP public key to encrypt any possible sensitive data that you may need to submit. We will get back to you as soon as possible according to our working hours in Central European Time.
15+
In case you find a vulnerability in SimpleSAMLphp, or you want to confirm a possible security issue in the software, please get in touch with us through [Sikt's CERT team](https://sikt.no/abuse). Please use our PGP public key to encrypt any possible sensitive data that you may need to submit. We will get back to you as soon as possible according to our working hours in Central European Time.
1616

1717
When reporting a security issue, please add as much information as possible to help us identify, confirm, replicate and fix the problem. In particular, remember to include the following information in your report:
1818

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
$attributemap = [
4+
/**
5+
* Renamed Attributes to match other 2name mappings
6+
*/
7+
"http://schemas.microsoft.com/identity/claims/objectidentifier" => 'uid',
8+
"http://schemas.microsoft.com/identity/claims/displayname" => 'displayName',
9+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" => 'givenName',
10+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" => 'sn',
11+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" => 'emailAddress',
12+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" => 'mail',
13+
14+
/**
15+
* Additional/Optional Claim, using default value
16+
*/
17+
"http://schemas.microsoft.com/ws/2008/06/identity/claims/groups" => 'groups',
18+
19+
/**
20+
* Additional Attributes from Entra
21+
*/
22+
"http://schemas.microsoft.com/claims/authnmethodsreferences" => 'authNMethodsReferences',
23+
"http://schemas.microsoft.com/identity/claims/identityprovider" => 'idp',
24+
"http://schemas.microsoft.com/identity/claims/tenantid" => 'tenantId',
25+
];
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
$attributemap = [
4+
/**
5+
* Renamed Attributes to match other 2name mappings, mapped back to default Entra claim names
6+
*/
7+
'uid' => 'http://schemas.microsoft.com/identity/claims/objectidentifier',
8+
'displayName' => 'http://schemas.microsoft.com/identity/claims/displayname',
9+
'givenName' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',
10+
'sn' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',
11+
'emailAddress' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',
12+
'mail' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name',
13+
14+
/**
15+
* Additional/Optional Claim, using default value, mapped back to original claim names
16+
*/
17+
'groups' => 'http://schemas.microsoft.com/ws/2008/06/identity/claims/groups',
18+
19+
/**
20+
* Additional Attributes from Entra, mapped back to original claims
21+
*/
22+
'authNMethodsReferences' => 'http://schemas.microsoft.com/claims/authnmethodsreferences',
23+
'idp' => 'http://schemas.microsoft.com/identity/claims/identityprovider',
24+
'tenantId' => 'http://schemas.microsoft.com/identity/claims/tenantid',
25+
];

.extlib/simplesamlphp/attributemap/name2oid.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,21 @@
4444
'eduOrgSuperiorURI' => 'urn:oid:1.3.6.1.4.1.5923.1.2.1.5',
4545
'eduOrgWhitePagesURI' => 'urn:oid:1.3.6.1.4.1.5923.1.2.1.6',
4646
'eduPersonAffiliation' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.1',
47+
'eduPersonAnalyticsTag' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.17',
4748
'eduPersonAssurance' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.11',
49+
'eduPersonDisplayPronouns' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.18',
4850
'eduPersonEntitlement' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.7',
4951
'eduPersonNickname' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.2',
52+
'eduPersonOrcid' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.16',
5053
'eduPersonOrgDN' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.3',
5154
'eduPersonOrgUnitDN' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.4',
5255
'eduPersonPrimaryAffiliation' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.5',
5356
'eduPersonPrimaryOrgUnitDN' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.8',
5457
'eduPersonPrincipalName' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6',
58+
'eduPersonPrincipalNamePrior' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.12',
5559
'eduPersonScopedAffiliation' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.9',
5660
'eduPersonTargetedID' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.10',
5761
'eduPersonUniqueId' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.13',
58-
'eduPersonOrcid' => 'urn:oid:1.3.6.1.4.1.5923.1.1.1.16',
5962
'email' => 'urn:oid:1.2.840.113549.1.9.1',
6063
'emailAddress' => 'urn:oid:1.2.840.113549.1.9.1',
6164
'employeeNumber' => 'urn:oid:2.16.840.1.113730.3.1.3',

.extlib/simplesamlphp/attributemap/oid2name.php

+36-33
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
<?php
22
$attributemap = [
33
'urn:oid:0.9.2342.19200300.100.1.1' => 'uid',
4+
'urn:oid:0.9.2342.19200300.100.1.2' => 'textEncodedORAddress',
5+
'urn:oid:0.9.2342.19200300.100.1.3' => 'mail',
6+
'urn:oid:0.9.2342.19200300.100.1.4' => 'info',
7+
'urn:oid:0.9.2342.19200300.100.1.5' => 'drink',
8+
'urn:oid:0.9.2342.19200300.100.1.6' => 'roomNumber',
9+
'urn:oid:0.9.2342.19200300.100.1.7' => 'photo',
10+
'urn:oid:0.9.2342.19200300.100.1.8' => 'userClass',
11+
'urn:oid:0.9.2342.19200300.100.1.9' => 'host',
412
'urn:oid:0.9.2342.19200300.100.1.10' => 'manager',
513
'urn:oid:0.9.2342.19200300.100.1.11' => 'documentIdentifier',
614
'urn:oid:0.9.2342.19200300.100.1.12' => 'documentTitle',
715
'urn:oid:0.9.2342.19200300.100.1.13' => 'documentVersion',
816
'urn:oid:0.9.2342.19200300.100.1.14' => 'documentAuthor',
917
'urn:oid:0.9.2342.19200300.100.1.15' => 'documentLocation',
10-
'urn:oid:0.9.2342.19200300.100.1.2' => 'textEncodedORAddress',
1118
'urn:oid:0.9.2342.19200300.100.1.20' => 'homePhone',
1219
'urn:oid:0.9.2342.19200300.100.1.21' => 'secretary',
1320
'urn:oid:0.9.2342.19200300.100.1.22' => 'otherMailbox',
@@ -16,13 +23,11 @@
1623
'urn:oid:0.9.2342.19200300.100.1.27' => 'mDRecord',
1724
'urn:oid:0.9.2342.19200300.100.1.28' => 'mXRecord',
1825
'urn:oid:0.9.2342.19200300.100.1.29' => 'nSRecord',
19-
'urn:oid:0.9.2342.19200300.100.1.3' => 'mail',
2026
'urn:oid:0.9.2342.19200300.100.1.30' => 'sOARecord',
2127
'urn:oid:0.9.2342.19200300.100.1.31' => 'cNAMERecord',
2228
'urn:oid:0.9.2342.19200300.100.1.37' => 'associatedDomain',
2329
'urn:oid:0.9.2342.19200300.100.1.38' => 'associatedName',
2430
'urn:oid:0.9.2342.19200300.100.1.39' => 'homePostalAddress',
25-
'urn:oid:0.9.2342.19200300.100.1.4' => 'info',
2631
'urn:oid:0.9.2342.19200300.100.1.40' => 'personalTitle',
2732
'urn:oid:0.9.2342.19200300.100.1.41' => 'mobile',
2833
'urn:oid:0.9.2342.19200300.100.1.42' => 'pager',
@@ -33,27 +38,21 @@
3338
'urn:oid:0.9.2342.19200300.100.1.47' => 'mailPreferenceOption',
3439
'urn:oid:0.9.2342.19200300.100.1.48' => 'buildingName',
3540
'urn:oid:0.9.2342.19200300.100.1.49' => 'dSAQuality',
36-
'urn:oid:0.9.2342.19200300.100.1.5' => 'drink',
3741
'urn:oid:0.9.2342.19200300.100.1.50' => 'singleLevelQuality',
3842
'urn:oid:0.9.2342.19200300.100.1.51' => 'subtreeMinimumQuality',
3943
'urn:oid:0.9.2342.19200300.100.1.52' => 'subtreeMaximumQuality',
4044
'urn:oid:0.9.2342.19200300.100.1.53' => 'personalSignature',
4145
'urn:oid:0.9.2342.19200300.100.1.54' => 'dITRedirect',
4246
'urn:oid:0.9.2342.19200300.100.1.55' => 'audio',
4347
'urn:oid:0.9.2342.19200300.100.1.56' => 'documentPublisher',
44-
'urn:oid:0.9.2342.19200300.100.1.6' => 'roomNumber',
4548
'urn:oid:0.9.2342.19200300.100.1.60' => 'jpegPhoto',
46-
'urn:oid:0.9.2342.19200300.100.1.7' => 'photo',
47-
'urn:oid:0.9.2342.19200300.100.1.8' => 'userClass',
48-
'urn:oid:0.9.2342.19200300.100.1.9' => 'host',
49-
'urn:oid:1.2.840.113549.1.9.1' => 'email',
5049
'urn:oid:1.2.752.194.10.2.2' => 'sisSchoolGrade',
5150
'urn:oid:1.2.752.194.10.2.1' => 'sisLegalGuardianFor',
5251
'urn:oid:1.2.752.194.10.3' => 'sisOrgDepartment',
5352
'urn:oid:1.2.752.194.10.2.4' => 'sisSchoolUnitCode',
53+
'urn:oid:1.2.840.113549.1.9.1' => 'email',
54+
'urn:oid:1.3.6.1.4.1.250.1.57' => 'labeledURI',
5455
'urn:oid:1.3.6.1.4.1.2428.90.1.1' => 'norEduOrgUniqueNumber',
55-
'urn:oid:1.3.6.1.4.1.2428.90.1.11' => 'norEduOrgSchemaVersion',
56-
'urn:oid:1.3.6.1.4.1.2428.90.1.12' => 'norEduOrgNIN',
5756
'urn:oid:1.3.6.1.4.1.2428.90.1.2' => 'norEduOrgUnitUniqueNumber',
5857
'urn:oid:1.3.6.1.4.1.2428.90.1.3' => 'norEduPersonBirthDate',
5958
'urn:oid:1.3.6.1.4.1.2428.90.1.4' => 'norEduPersonLIN',
@@ -62,13 +61,9 @@
6261
'urn:oid:1.3.6.1.4.1.2428.90.1.7' => 'norEduOrgUniqueIdentifier',
6362
'urn:oid:1.3.6.1.4.1.2428.90.1.8' => 'norEduOrgUnitUniqueIdentifier',
6463
'urn:oid:1.3.6.1.4.1.2428.90.1.9' => 'federationFeideSchemaVersion',
65-
'urn:oid:1.3.6.1.4.1.24552.500.1.1.1.13' => 'sshPublicKey',
66-
'urn:oid:1.3.6.1.4.1.250.1.57' => 'labeledURI',
64+
'urn:oid:1.3.6.1.4.1.2428.90.1.11' => 'norEduOrgSchemaVersion',
65+
'urn:oid:1.3.6.1.4.1.2428.90.1.12' => 'norEduOrgNIN',
6766
'urn:oid:1.3.6.1.4.1.5923.1.1.1.1' => 'eduPersonAffiliation',
68-
'urn:oid:1.3.6.1.4.1.5923.1.1.1.11' => 'eduPersonAssurance',
69-
'urn:oid:1.3.6.1.4.1.5923.1.1.1.10' => 'eduPersonTargetedID',
70-
'urn:oid:1.3.6.1.4.1.5923.1.1.1.13' => 'eduPersonUniqueId',
71-
'urn:oid:1.3.6.1.4.1.5923.1.1.1.16' => 'eduPersonOrcid',
7267
'urn:oid:1.3.6.1.4.1.5923.1.1.1.2' => 'eduPersonNickname',
7368
'urn:oid:1.3.6.1.4.1.5923.1.1.1.3' => 'eduPersonOrgDN',
7469
'urn:oid:1.3.6.1.4.1.5923.1.1.1.4' => 'eduPersonOrgUnitDN',
@@ -77,12 +72,20 @@
7772
'urn:oid:1.3.6.1.4.1.5923.1.1.1.7' => 'eduPersonEntitlement',
7873
'urn:oid:1.3.6.1.4.1.5923.1.1.1.8' => 'eduPersonPrimaryOrgUnitDN',
7974
'urn:oid:1.3.6.1.4.1.5923.1.1.1.9' => 'eduPersonScopedAffiliation',
75+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.10' => 'eduPersonTargetedID',
76+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.11' => 'eduPersonAssurance',
77+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.12' => 'eduPersonPrincipalNamePrior',
78+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.13' => 'eduPersonUniqueId',
79+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.16' => 'eduPersonOrcid',
80+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.17' => 'eduPersonAnalyticsTag',
81+
'urn:oid:1.3.6.1.4.1.5923.1.1.1.18' => 'eduPersonDisplayPronouns',
8082
'urn:oid:1.3.6.1.4.1.5923.1.2.1.2' => 'eduOrgHomePageURI',
8183
'urn:oid:1.3.6.1.4.1.5923.1.2.1.3' => 'eduOrgIdentityAuthNPolicyURI',
8284
'urn:oid:1.3.6.1.4.1.5923.1.2.1.4' => 'eduOrgLegalName',
8385
'urn:oid:1.3.6.1.4.1.5923.1.2.1.5' => 'eduOrgSuperiorURI',
8486
'urn:oid:1.3.6.1.4.1.5923.1.2.1.6' => 'eduOrgWhitePagesURI',
8587
'urn:oid:1.3.6.1.4.1.5923.1.5.1.1' => 'isMemberOf',
88+
'urn:oid:1.3.6.1.4.1.24552.500.1.1.1.13' => 'sshPublicKey',
8689
'urn:oid:1.3.6.1.4.1.25178.1.0.2.3' => 'schacYearOfBirth',
8790
'urn:oid:1.3.6.1.4.1.25178.1.2.1' => 'schacMotherTongue',
8891
'urn:oid:1.3.6.1.4.1.25178.1.2.2' => 'schacGender',
@@ -124,16 +127,16 @@
124127
'urn:oid:1.3.6.1.4.1.25178.4.2.3' => 'voPosixAccountHomeDirectory',
125128
'urn:oid:1.3.6.1.4.1.25178.4.2.4' => 'voPosixAccountLoginShell',
126129
'urn:oid:1.3.6.1.4.1.25178.4.2.5' => 'voPosixAccountUidNumber',
127-
'urn:oid:2.16.840.1.113730.3.1.1' => 'carLicense',
128-
'urn:oid:2.16.840.1.113730.3.1.2' => 'departmentNumber',
129-
'urn:oid:2.16.840.1.113730.3.1.216' => 'userPKCS12',
130-
'urn:oid:2.16.840.1.113730.3.1.241' => 'displayName',
131-
'urn:oid:2.16.840.1.113730.3.1.3' => 'employeeNumber',
132-
'urn:oid:2.16.840.1.113730.3.1.39' => 'preferredLanguage',
133-
'urn:oid:2.16.840.1.113730.3.1.4' => 'employeeType',
134-
'urn:oid:2.16.840.1.113730.3.1.40' => 'userSMIMECertificate',
135130
'urn:oid:2.5.4.0' => 'objectClass',
136131
'urn:oid:2.5.4.1' => 'aliasedObjectName',
132+
'urn:oid:2.5.4.2' => 'knowledgeInformation',
133+
'urn:oid:2.5.4.3' => 'cn',
134+
'urn:oid:2.5.4.4' => 'sn',
135+
'urn:oid:2.5.4.5' => 'serialNumber',
136+
'urn:oid:2.5.4.6' => 'c',
137+
'urn:oid:2.5.4.7' => 'l',
138+
'urn:oid:2.5.4.8' => 'st',
139+
'urn:oid:2.5.4.9' => 'street',
137140
'urn:oid:2.5.4.10' => 'o',
138141
'urn:oid:2.5.4.11' => 'ou',
139142
'urn:oid:2.5.4.12' => 'title',
@@ -144,7 +147,6 @@
144147
'urn:oid:2.5.4.17' => 'postalCode',
145148
'urn:oid:2.5.4.18' => 'postOfficeBox',
146149
'urn:oid:2.5.4.19' => 'physicalDeliveryOfficeName',
147-
'urn:oid:2.5.4.2' => 'knowledgeInformation',
148150
'urn:oid:2.5.4.20' => 'telephoneNumber',
149151
'urn:oid:2.5.4.21' => 'telexNumber',
150152
'urn:oid:2.5.4.22' => 'teletexTerminalIdentifier',
@@ -155,7 +157,6 @@
155157
'urn:oid:2.5.4.27' => 'destinationIndicator',
156158
'urn:oid:2.5.4.28' => 'preferredDeliveryMethod',
157159
'urn:oid:2.5.4.29' => 'presentationAddress',
158-
'urn:oid:2.5.4.3' => 'cn',
159160
'urn:oid:2.5.4.30' => 'supportedApplicationContext',
160161
'urn:oid:2.5.4.31' => 'member',
161162
'urn:oid:2.5.4.32' => 'owner',
@@ -166,7 +167,6 @@
166167
'urn:oid:2.5.4.37' => 'cACertificate',
167168
'urn:oid:2.5.4.38' => 'authorityRevocationList',
168169
'urn:oid:2.5.4.39' => 'certificateRevocationList',
169-
'urn:oid:2.5.4.4' => 'sn',
170170
'urn:oid:2.5.4.40' => 'crossCertificatePair',
171171
'urn:oid:2.5.4.41' => 'name',
172172
'urn:oid:2.5.4.42' => 'givenName',
@@ -177,15 +177,18 @@
177177
'urn:oid:2.5.4.47' => 'enhancedSearchGuide',
178178
'urn:oid:2.5.4.48' => 'protocolInformation',
179179
'urn:oid:2.5.4.49' => 'distinguishedName',
180-
'urn:oid:2.5.4.5' => 'serialNumber',
181180
'urn:oid:2.5.4.50' => 'uniqueMember',
182181
'urn:oid:2.5.4.51' => 'houseIdentifier',
183182
'urn:oid:2.5.4.52' => 'supportedAlgorithms',
184183
'urn:oid:2.5.4.53' => 'deltaRevocationList',
185184
'urn:oid:2.5.4.54' => 'dmdName',
186-
'urn:oid:2.5.4.6' => 'c',
187185
'urn:oid:2.5.4.65' => 'pseudonym',
188-
'urn:oid:2.5.4.7' => 'l',
189-
'urn:oid:2.5.4.8' => 'st',
190-
'urn:oid:2.5.4.9' => 'street',
186+
'urn:oid:2.16.840.1.113730.3.1.1' => 'carLicense',
187+
'urn:oid:2.16.840.1.113730.3.1.2' => 'departmentNumber',
188+
'urn:oid:2.16.840.1.113730.3.1.3' => 'employeeNumber',
189+
'urn:oid:2.16.840.1.113730.3.1.4' => 'employeeType',
190+
'urn:oid:2.16.840.1.113730.3.1.39' => 'preferredLanguage',
191+
'urn:oid:2.16.840.1.113730.3.1.40' => 'userSMIMECertificate',
192+
'urn:oid:2.16.840.1.113730.3.1.216' => 'userPKCS12',
193+
'urn:oid:2.16.840.1.113730.3.1.241' => 'displayName',
191194
];

.extlib/simplesamlphp/bin/console

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env php
22
<?php
33

4+
declare(strict_types=1);
5+
46
use SimpleSAML\Console\Application;
57
use SimpleSAML\Kernel;
68
use Symfony\Component\Console\Input\ArgvInput;
@@ -11,7 +13,7 @@ set_time_limit(0);
1113
require __DIR__.'/../vendor/autoload.php';
1214

1315
$input = new ArgvInput();
14-
$module = $input->getParameterOption(['--modules', '-m'], 'core');
16+
$module = $input->getParameterOption(['--module', '-m'], 'core');
1517
$kernel = new Kernel($module);
1618

1719
$application = new Application($kernel);

0 commit comments

Comments
 (0)