Commit 5b59eeb2 authored by David Coutadeur's avatar David Coutadeur
Browse files

remove useless test on saml signature for test logout through OIDC and SAML chaining (#2328)

parent 98b05eb8
Pipeline #14628 passed with stage
in 11 minutes and 18 seconds
...@@ -22,7 +22,7 @@ BEGIN { ...@@ -22,7 +22,7 @@ BEGIN {
require 't/saml-lib.pm'; require 't/saml-lib.pm';
} }
my $maintests = 18; my $maintests = 17;
my $debug = 'error'; my $debug = 'error';
#my $debug = 'error'; #my $debug = 'error';
my ( $op, $rp, $idp, $res ); my ( $op, $rp, $idp, $res );
...@@ -168,12 +168,6 @@ SKIP: { ...@@ -168,12 +168,6 @@ SKIP: {
'SAMLResponse', 'RelayState' ); 'SAMLResponse', 'RelayState' );
my ($resp) = $query =~ qr/SAMLResponse=([^&]*)/; my ($resp) = $query =~ qr/SAMLResponse=([^&]*)/;
my $message = decode_base64( URI::Escape::uri_unescape $resp);
like(
$message,
qr@SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"@,
"Signed using SHA-256"
);
# Post SAML response to SP # Post SAML response to SP
switch ('op'); switch ('op');
......
...@@ -22,7 +22,7 @@ BEGIN { ...@@ -22,7 +22,7 @@ BEGIN {
require 't/saml-lib.pm'; require 't/saml-lib.pm';
} }
my $maintests = 18; my $maintests = 17;
my $debug = 'error'; my $debug = 'error';
#my $debug = 'error'; #my $debug = 'error';
my ( $op, $rp, $idp, $res ); my ( $op, $rp, $idp, $res );
...@@ -168,12 +168,6 @@ SKIP: { ...@@ -168,12 +168,6 @@ SKIP: {
'SAMLResponse', 'RelayState' ); 'SAMLResponse', 'RelayState' );
my ($resp) = $query =~ qr/SAMLResponse=([^&]*)/; my ($resp) = $query =~ qr/SAMLResponse=([^&]*)/;
my $message = decode_base64( URI::Escape::uri_unescape $resp);
like(
$message,
qr@SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"@,
"Signed using SHA-256"
);
# Post SAML response to SP # Post SAML response to SP
switch ('op'); switch ('op');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment