diff --git a/common/protocol/headers.go b/common/protocol/headers.go index 9bd332f45..f668255ad 100644 --- a/common/protocol/headers.go +++ b/common/protocol/headers.go @@ -79,7 +79,7 @@ type CommandSwitchAccount struct { func (sc *SecurityConfig) GetSecurityType() SecurityType { if sc == nil || sc.Type == SecurityType_AUTO { - if runtime.GOARCH == "amd64" || runtime.GOARCH == "s390x" { + if runtime.GOARCH == "amd64" || runtime.GOARCH == "s390x" || runtime.GOARCH == "arm64" { return SecurityType_AES128_GCM } return SecurityType_CHACHA20_POLY1305