mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 18:56:17 +01:00
- Restrict to specific key exchanges / MACs / ciphers. - Refactored GetSSHKey method to return an ssh.Signer instead of byte array. - Added common package. Co-authored-by: nhas <jordanatararimu@gmail.com>
8 lines
207 B
Go
8 lines
207 B
Go
package common
|
|
|
|
var (
|
|
DefaultKeyExchanges = []string{"curve25519-sha256"}
|
|
DefaultMACs = []string{"hmac-sha2-256-etm@openssh.com"}
|
|
DefaultCiphers = []string{"chacha20-poly1305@openssh.com"}
|
|
)
|