-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ncm-metaconfig: ssh: Fix wrapping and indentation in pan
- Loading branch information
Showing
4 changed files
with
42 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,25 +8,31 @@ include 'pan/types'; | |
type temp_ssh_ciphers = string with match (SELF, "^[+-]?(" + | ||
"(blowfish|3des|aes(128|192|256)|cast128)-cbc" + | ||
"|aes(128|192|256)-ctr|arcfour|arcfour(128|256)" + | ||
"|(aes(128|256)-gcm|chacha20-poly1305)@openssh.com)$"); | ||
"|(aes(128|256)-gcm|chacha20-poly1305)@openssh.com)$" | ||
); | ||
type temp_ssh_hostkeyalgorithms = string with match(SELF, "^[+-]?(" + | ||
"ssh-(rsa|dss|ed25519)|ecdsa-sha2-nistp(256|384|521)|" + | ||
"(ssh-rsa-cert-v0[01]|ssh-dss-cert-v01|ecdsa-sha2-nistp(256|384|521)-cert-v01|" + | ||
"ssh-dss-cert-v00|ssh-ed25519-cert-v01)@openssh.com)$"); | ||
"ssh-dss-cert-v00|ssh-ed25519-cert-v01)@openssh.com)$" | ||
); | ||
type temp_ssh_kbdinteractivedevices = string with match (SELF, "^(bsdauth|pam|skey)$"); | ||
# Recent versions have distinct GSSAPIKexAlgorithms | ||
type temp_ssh_gss_kexalgorithms = string with match (SELF, "^[+-]?(gss-(gex|group1|group14)-sha1-" + | ||
"|gss-group14-sha256-|gss-group16-sha512-|gss-nistp256-sha256-|gss-curve25519-sha256-)$"); | ||
"|gss-group14-sha256-|gss-group16-sha512-|gss-nistp256-sha256-|gss-curve25519-sha256-)$" | ||
); | ||
# Older versions include GSSAPI mechanisms in KEXAlgorithms, but only the SHA1 variants | ||
type temp_ssh_kexalgorithms = string with match (SELF, "^[+-]?(" + | ||
"diffie-hellman-group(1-sha1|14-sha1|-exchange-sha1|-exchange-sha256)" + | ||
"|ecdh-sha2-nistp(256|384|521)|[email protected]" + | ||
"|gss-(gex|group1|group14)-sha1-)$"); | ||
"|gss-(gex|group1|group14)-sha1-)$" | ||
); | ||
type temp_ssh_MACs = string with match(SELF, "^[+-]?(hmac-(sha1|sha1-96|sha2-256|sha2-512|md5|md5-96|ripemd160)|" + | ||
"(hmac-ripemd160|umac-64|umac-128|hmac-sha1-etm|hmac-sha1-96-etm|hmac-sha2-256-etm|hmac-sha2-512-etm|" + | ||
"hmac-md5-etm|hmac-md5-96-etm|hmac-ripemd160-etm|umac-64-etm|umac-128-etm)@openssh.com)$"); | ||
"hmac-md5-etm|hmac-md5-96-etm|hmac-ripemd160-etm|umac-64-etm|umac-128-etm)@openssh.com)$" | ||
); | ||
type temp_ssh_CAAlgorithms = string with match(SELF, "^[+-]?(" + | ||
"ecdsa-sha2-nistp(256|384|521)|ssh-ed25519|rsa-sha2-(256|512)|ssh-rsa)$"); | ||
"ecdsa-sha2-nistp(256|384|521)|ssh-ed25519|rsa-sha2-(256|512)|ssh-rsa)$" | ||
); | ||
|
||
|
||
type ssh_config_opts = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters