32 lines
1015 B
Diff
32 lines
1015 B
Diff
From 96f3f0275745c5a455c019a0d3476a054980e8ea Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jos=C3=A9=20Padilla?= <jpadilla@users.noreply.github.com>
|
|
Date: Thu, 12 May 2022 14:44:55 -0400
|
|
Subject: [PATCH] fix: failing advisory test
|
|
|
|
---
|
|
tests/test_advisory.py | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/tests/test_advisory.py b/tests/test_advisory.py
|
|
index f70f54b..a4a7d23 100644
|
|
--- a/tests/test_advisory.py
|
|
+++ b/tests/test_advisory.py
|
|
@@ -2,6 +2,8 @@ import jwt
|
|
import pytest
|
|
from jwt.exceptions import InvalidKeyError
|
|
|
|
+from .utils import crypto_required
|
|
+
|
|
priv_key_bytes = b'''-----BEGIN PRIVATE KEY-----
|
|
MC4CAQAwBQYDK2VwBCIEIIbBhdo2ah7X32i50GOzrCr4acZTe6BezUdRIixjTAdL
|
|
-----END PRIVATE KEY-----'''
|
|
@@ -18,6 +20,7 @@ ssh_key_bytes = b"""ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlz
|
|
|
|
|
|
class TestAdvisory:
|
|
+ @crypto_required
|
|
def test_ghsa_ffqj_6fqr_9h24(self):
|
|
# Generate ed25519 private key
|
|
# private_key = ed25519.Ed25519PrivateKey.generate()
|
|
--
|
|
2.23.0
|