Add compression switch parameter to New-JsonWebToken cmdlet (#29) #69
GitHub Actions / Unit Test Results (Windows)
succeeded
Feb 18, 2024 in 0s
All 101 tests pass in 2s
Annotations
Check notice on line 0 in .github
github-actions / Unit Test Results (Windows)
101 tests found
There are 101 tests, see "Raw output" for the full list of tests.
Raw output
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'ECDH_ES' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'ECDH_ES_A128KW' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'ECDH_ES_A192KW' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'ECDH_ES_A256KW' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'PS256' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'PS384' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if 'PS512' algorithm is used
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if JWE algorithm is not using -Encryption parameter
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if JWS algorithm is using -Encryption parameter
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if algorithm is invalid
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if algorithm is used without -SecretKey or -Certificate parameter
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if compression used with JWE algorithm
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if incompatible algorithm DIR with encryption A128CBC_HS256 is used with -Certificate
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if incompatible algorithm HS256 is used with -Certificate
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if incompatible algorithm RS256 is used with -SecretKey
JsonWebToken Tests.Invalid Parameter Combinations.Should throw an exception if incompatible algorithm RSA_OAEP_256 with encryption A128CBC_HS256 is used with -SecretKey
JsonWebToken Tests.JWT Encryption.A128GCMKW & A192GCMKW & A256GCMKW.Should return expected JWT token using A128GCMKW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.A128GCMKW & A192GCMKW & A256GCMKW.Should return expected JWT token using A128GCMKW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.A128GCMKW & A192GCMKW & A256GCMKW.Should return expected JWT token using A192GCMKW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.A128GCMKW & A192GCMKW & A256GCMKW.Should return expected JWT token using A192GCMKW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.A128GCMKW & A192GCMKW & A256GCMKW.Should return expected JWT token using A256GCMKW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.A128GCMKW & A192GCMKW & A256GCMKW.Should return expected JWT token using A256GCMKW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.A128KW & A192KW & A256KW.Should return expected JWT token using A128KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.A128KW & A192KW & A256KW.Should return expected JWT token using A128KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.A128KW & A192KW & A256KW.Should return expected JWT token using A192KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.A128KW & A192KW & A256KW.Should return expected JWT token using A192KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.A128KW & A192KW & A256KW.Should return expected JWT token using A256KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.A128KW & A192KW & A256KW.Should return expected JWT token using A256KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.DEF.Should return a valid JWT token using RSA1_5 algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and DEFLATE compression and certificate
JsonWebToken Tests.JWT Encryption.DEF.Should return a valid JWT token using RSA_OAEP algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and DEFLATE compression and certificate
JsonWebToken Tests.JWT Encryption.DEF.Should return a valid JWT token using RSA_OAEP_256 algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and DEFLATE compression and certificate
JsonWebToken Tests.JWT Encryption.DIR.Should return expected JWT token using DIR algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and secret key with headers
JsonWebToken Tests.JWT Encryption.DIR.Should return expected JWT token using DIR algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and secret key with no headers
JsonWebToken Tests.JWT Encryption.PBES2_HS256_A128KW & PBES2_HS384_A192KW & PBES2_HS512_A256KW.Should return expected JWT token using PBES2_HS256_A128KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.PBES2_HS256_A128KW & PBES2_HS384_A192KW & PBES2_HS512_A256KW.Should return expected JWT token using PBES2_HS256_A128KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.PBES2_HS256_A128KW & PBES2_HS384_A192KW & PBES2_HS512_A256KW.Should return expected JWT token using PBES2_HS384_A192KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.PBES2_HS256_A128KW & PBES2_HS384_A192KW & PBES2_HS512_A256KW.Should return expected JWT token using PBES2_HS384_A192KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.PBES2_HS256_A128KW & PBES2_HS384_A192KW & PBES2_HS512_A256KW.Should return expected JWT token using PBES2_HS512_A256KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with headers
JsonWebToken Tests.JWT Encryption.PBES2_HS256_A128KW & PBES2_HS384_A192KW & PBES2_HS512_A256KW.Should return expected JWT token using PBES2_HS512_A256KW algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryptions and secret key with no headers
JsonWebToken Tests.JWT Encryption.RSA_OAEP_256 & RSA_OAEP & RSA1_5.Should return a valid JWT token using RSA1_5 algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and certificate with headers
JsonWebToken Tests.JWT Encryption.RSA_OAEP_256 & RSA_OAEP & RSA1_5.Should return a valid JWT token using RSA1_5 algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and certificate with no headers
JsonWebToken Tests.JWT Encryption.RSA_OAEP_256 & RSA_OAEP & RSA1_5.Should return a valid JWT token using RSA_OAEP algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and certificate with headers
JsonWebToken Tests.JWT Encryption.RSA_OAEP_256 & RSA_OAEP & RSA1_5.Should return a valid JWT token using RSA_OAEP algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and certificate with no headers
JsonWebToken Tests.JWT Encryption.RSA_OAEP_256 & RSA_OAEP & RSA1_5.Should return a valid JWT token using RSA_OAEP_256 algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and certificate with headers
JsonWebToken Tests.JWT Encryption.RSA_OAEP_256 & RSA_OAEP & RSA1_5.Should return a valid JWT token using RSA_OAEP_256 algorithm and 'A128CBC_HS256 A192CBC_HS384 A256CBC_HS512 A128GCM A192GCM A256GCM' encryption and certificate with no headers
JsonWebToken Tests.JWT Signing.ES256 & ES384 & ES512.Should return a valid JWT token using ES256 algorithm and certificate with headers
JsonWebToken Tests.JWT Signing.ES256 & ES384 & ES512.Should return a valid JWT token using ES256 algorithm and certificate with no headers
JsonWebToken Tests.JWT Signing.ES256 & ES384 & ES512.Should return a valid JWT token using ES384 algorithm and certificate with headers
JsonWebToken Tests.JWT Signing.ES256 & ES384 & ES512.Should return a valid JWT token using ES384 algorithm and certificate with no headers
JsonWebToken Tests.JWT Signing.ES256 & ES384 & ES512.Should return a valid JWT token using ES512 algorithm and certificate with headers
JsonWebToken Tests.JWT Signing.ES256 & ES384 & ES512.Should return a valid JWT token using ES512 algorithm and certificate with no headers
JsonWebToken Tests.JWT Signing.HS256 & HS384 & HS512.Should return expected JWT token using HS256 algorithm and secret key with headers
JsonWebToken Tests.JWT Signing.HS256 & HS384 & HS512.Should return expected JWT token using HS256 algorithm and secret key with no headers
JsonWebToken Tests.JWT Signing.HS256 & HS384 & HS512.Should return expected JWT token using HS384 algorithm and secret key with headers
JsonWebToken Tests.JWT Signing.HS256 & HS384 & HS512.Should return expected JWT token using HS384 algorithm and secret key with no headers
JsonWebToken Tests.JWT Signing.HS256 & HS384 & HS512.Should return expected JWT token using HS512 algorithm and secret key with headers
JsonWebToken Tests.JWT Signing.HS256 & HS384 & HS512.Should return expected JWT token using HS512 algorithm and secret key with no headers
JsonWebToken Tests.JWT Signing.None.Should return valid JWT token using none algorithm with headers output warning
JsonWebToken Tests.JWT Signing.None.Should return valid JWT token using none algorithm without headers and output warning
JsonWebToken Tests.JWT Signing.RS256 & RS384 & RS512.Should return expected JWT token using RS256 algorithm and certificate with headers
JsonWebToken Tests.JWT Signing.RS256 & RS384 & RS512.Should return expected JWT token using RS256 algorithm and certificate with no headers
JsonWebToken Tests.JWT Signing.RS256 & RS384 & RS512.Should return expected JWT token using RS384 algorithm and certificate with headers
JsonWebToken Tests.JWT Signing.RS256 & RS384 & RS512.Should return expected JWT token using RS384 algorithm and certificate with no headers
JsonWebToken Tests.JWT Signing.RS256 & RS384 & RS512.Should return expected JWT token using RS512 algorithm and certificate with headers
JsonWebToken Tests.JWT Signing.RS256 & RS384 & RS512.Should return expected JWT token using RS512 algorithm and certificate with no headers
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm '
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm ''
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm 'A'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm 'A128'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm 'ES'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm 'HS'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm 'PBES2_HS256'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm A'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm A128'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm ES'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm HS'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'New-JsonWebToken -Algorithm PBES2_HS256'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm '
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm ''
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm 'A'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm 'A128'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm 'ES'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm 'HS'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm 'PBES2_HS256'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm A'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm A128'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm ES'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm HS'
JsonWebToken Tests.Parameter argument completion.-Algorithm parameter.Should complete Algorithm for 'Test-JsonWebToken -Algorithm PBES2_HS256'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'New-JsonWebToken -Encryption '
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'New-JsonWebToken -Encryption ''
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'New-JsonWebToken -Encryption 'A128'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'New-JsonWebToken -Encryption 'A256CBC_HS'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'New-JsonWebToken -Encryption A128'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'New-JsonWebToken -Encryption A256CBC_HS'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'Test-JsonWebToken -Encryption '
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'Test-JsonWebToken -Encryption ''
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'Test-JsonWebToken -Encryption 'A128'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'Test-JsonWebToken -Encryption 'A256CBC_HS'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'Test-JsonWebToken -Encryption A128'
JsonWebToken Tests.Parameter argument completion.-Encryption parameter.Should complete Algorithm for 'Test-JsonWebToken -Encryption A256CBC_HS'
Loading