outdated docs default tls version
- Ngôn ngữ chính
- Go
- Star
- 6.1k
- Fork
- 327
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
heyjo :3
i think the docs are outdated on the minimum tls version.
honestly i am not comfy reading go and don't know enough about mail.
i was email rfc's and in 8997 it says that the minimum TLS version used by an MSP should be 1.2 or greater.
in the [docs](https://maddy.email/reference/tls/) it says that maddy uses tls 1.0 as its minimum version.
when running maddy without any tls options with curl and setting the tls protocol via `--tls-max` i get anything below 1.2 rejected.
i think the way i got the code is that in the default case the `tls.Config.MinVersion` and `tls.Config.MaxVersion` are set to O. honestly i didn't bother to spend more time reading the go lib for crypto much beyond their comment that the default tls version is 1.2 and found [this PR from a year back](https://github.com/golang/go/issues/62459) saying that they bumped it.
the docs weren't updated since then (`tls.md` at least).
that's why i guess everything is fine, it's just that the docs are outdated.
best regards
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với tls.md và so sánh phiên bản TLS tối thiểu được nêu trong đó với hành vi được mô tả bằng curl và --tls-max, sau đó xem cuộc thảo luận được liên kết về mặc định TLS của Go để có thêm ngữ cảnh. Công việc được hoàn tất khi tài liệu mô tả chính xác phiên bản TLS tối thiểu mặc định của maddy và không còn khẳng định là TLS 1.0 nếu mặc định từ chối các phiên bản cũ hơn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- go
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 55/100