Skip to content

Commit 947245e

Browse files
authored
Merge pull request ojarva#78 from ojarva/options-improvements
Update options to those supported by OpenSSH 8.3
2 parents 57316e0 + c1a8e4a commit 947245e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sshpubkeys/keys.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,26 @@ class SSHKey: # pylint:disable=too-many-instance-attributes
8585
RSA_MIN_LENGTH_LOOSE = 768
8686
RSA_MAX_LENGTH_LOOSE = 16384
8787

88-
# Valid as of OpenSSH_6.9p1
88+
# Valid as of OpenSSH_8.3
8989
# argument name, value is mandatory. Options are case-insensitive, but this list must be in lowercase.
9090
OPTIONS_SPEC = [
9191
("agent-forwarding", False),
9292
("cert-authority", False),
9393
("command", True),
9494
("environment", True),
95+
("expiry-time", True),
9596
("from", True),
9697
("no-agent-forwarding", False),
9798
("no-port-forwarding", False),
9899
("no-pty", False),
99100
("no-user-rc", False),
100101
("no-x11-forwarding", False),
102+
("permitlisten", True),
101103
("permitopen", True),
102104
("port-forwarding", False),
103105
("principals", True),
104106
("pty", False),
107+
("no-touch-required", False),
105108
("restrict", False),
106109
("tunnel", True),
107110
("user-rc", False),

0 commit comments

Comments
 (0)