Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Explicit authenticated encryption?

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
documentation, security

Hướng nghiên cứu

Trước tiên, hãy xem lại tài liệu quickstart và các mô tả công khai trên GitHub hoặc crates.io, sau đó kiểm tra các biến thể của enum CryptoAlgorithm và cách chúng được sử dụng trong mã máy khách như được đề cập trong issue. Làm rõ rằng tùy chọn mã hóa cung cấp mã hóa có xác thực và thống nhất thuật ngữ ở mọi nơi xuất hiện sự hiểu nhầm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello again!

Perhaps this is a largely subjective assessment caused by inexperience/ignorance, but I did not immediately understand that the cookie encryption option also implies their authentication.

Perhaps the wording signing/encryption confused me (either one or the other, but not together, which means unauthenticated encryption). Later, I learned that the term "signing" is not used in the context of AE.

Of course, I am not an expert in cryptography.. Perhaps there was a place for the assumption that encryption without authentication does not make sense, is insecure (and it is), therefore, there were no additional "identification marks" in the quickstart-documentation, github pages, crates.io about the using of AEAD, ha-ha.

Viewing the source code with comments, of course, clarified everything. Although a quick look at the use of CryptoAlgorithm enum variants in the client code: Encryption (AE or not AE..), Signing -- caused the same misunderstanding.

I think this is a good lesson for me about the importance of understanding the tools you are using and the exploring source code that is required to do so (sometimes more, sometimes less).

Thanks!

Ngôn ngữ chính
Rust
Star
125
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.