diff --git a/.gitignore b/.gitignore index 940794e..1128cc3 100644 --- a/.gitignore +++ b/.gitignore @@ -286,3 +286,6 @@ __pycache__/ *.btm.cs *.odx.cs *.xsd.cs + +# Visual Studio Code +*.vscode diff --git a/src/Paseto/Algorithms/Version1Algorithm.cs b/src/Paseto/Algorithms/Version1Algorithm.cs index 5d35de5..47fd15d 100644 --- a/src/Paseto/Algorithms/Version1Algorithm.cs +++ b/src/Paseto/Algorithms/Version1Algorithm.cs @@ -84,6 +84,11 @@ public byte[] Sign(byte[] message, byte[] key) /// true if verified, false otherwise. public bool Verify(byte[] message, byte[] signature, byte[] key) { + // NOTE: Not Supported in Linux until 2.1 + // + // Enable RSA-OAEP(SHA-2) and RSA-PSS on Unix systems #27394 + // https://github.com/dotnet/corefx/pull/27394 + // https://github.com/dotnet/corefx/issues/2522 #if NETSTANDARD2_0 using (var rsa = RSA.Create()) {