Skip to content

Commit 5550865

Browse files
committed
fix(jwk): check ssh-dss for OctKey
1 parent fe46f39 commit 5550865

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/joserfc/rfc7518/oct_key.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
POSSIBLE_UNSAFE_KEYS = (
1414
b"-----BEGIN ",
15+
b"---- BEGIN ",
1516
b"ssh-rsa ",
17+
b"ssh-dss ",
1618
b"ssh-ed25519 ",
1719
b"ecdsa-sha2-",
1820
)

0 commit comments

Comments
 (0)