From 383ae881176b7087994acc480aff8e9f3b730e63 Mon Sep 17 00:00:00 2001 From: Tom Giddings Date: Wed, 28 Jul 2021 11:30:14 +0100 Subject: [PATCH] Patch algorithm definitions To match node-saml master and spec. --- src/node-saml/saml.ts | 4 ++-- test/static/expected metadata.xml | 4 ++-- test/static/expectedMetadataWithBothKeys.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/node-saml/saml.ts b/src/node-saml/saml.ts index e6062ebb..2f242e32 100644 --- a/src/node-saml/saml.ts +++ b/src/node-saml/saml.ts @@ -1402,8 +1402,8 @@ class SAML { }, EncryptionMethod: [ // this should be the set that the xmlenc library supports - { "@Algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-gcm" }, - { "@Algorithm": "http://www.w3.org/2001/04/xmlenc#aes128-gcm" }, + { "@Algorithm": "http://www.w3.org/2009/xmlenc11#aes256-gcm" }, + { "@Algorithm": "http://www.w3.org/2009/xmlenc11#aes128-gcm" }, { "@Algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc" }, { "@Algorithm": "http://www.w3.org/2001/04/xmlenc#aes128-cbc" }, ], diff --git a/test/static/expected metadata.xml b/test/static/expected metadata.xml index 32529f92..eecc5a30 100644 --- a/test/static/expected metadata.xml +++ b/test/static/expected metadata.xml @@ -33,8 +33,8 @@ nwtlCg== - - + + diff --git a/test/static/expectedMetadataWithBothKeys.xml b/test/static/expectedMetadataWithBothKeys.xml index 5534e215..0c46cd62 100644 --- a/test/static/expectedMetadataWithBothKeys.xml +++ b/test/static/expectedMetadataWithBothKeys.xml @@ -55,8 +55,8 @@ nwtlCg== - - + +