Investigate possible opencryptoki regression w.r.t. stream cancellations
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- cryptography, testing-qa
Hướng nghiên cứu
Start with tests.test_rsa.RSATests.test_verify_stream_interrupt_releases_operation and reproduce the failure against opencryptoki. Compare the behavior across the relevant upstream versions or changes to identify when stream cancellation stopped releasing the operation. Done means the regression is explained and the test passes again, or the upstream cause is documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Some time between April and now opencryptoki tests started failing with this error:
self = <tests.test_rsa.RSATests testMethod=test_verify_stream_interrupt_releases_operation>
@requires(Mechanism.SHA512_RSA_PKCS)
def test_verify_stream_interrupt_releases_operation(self):
data = (
b"I" * 16,
b"N" * 16,
b"P" * 16,
b"U" * 16,
b"T" * 10,
)
def _data_with_error():
yield data[0]
yield data[1]
yield data[2]
raise ValueError
signature = self.private.sign(data)
def attempt_verify():
self.public.verify(_data_with_error(), signature)
self.assertRaises(ValueError, attempt_verify)
# ...try again
> self.assertTrue(self.public.verify(data, signature))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Our code didn't change, so this is probably an upstream regression. To be investigated.
- Ngôn ngữ chính
- Python
- Star
- 171
- Fork
- 79
- Merge trung bình
- 14 giờ 23 phút
- Pull request đã merge (30 ngày)
- 1
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pyauth/python-pkcs11
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
pyauth/python-pkcs11#225 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
pyauth/python-pkcs11#228 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pyauth/python-pkcs11#220 · 1 bình luận ·
-
readthedocs.io setupĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pyauth/python-pkcs11#211 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pyauth/python-pkcs11#192 · 2 bình luận ·
Tất cả issue của pyauth/python-pkcs11
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
omegaup/omegaup#10353 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bot-triaged module: LrScheduler module: optimizer triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation glm5 llm-model
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/vllm-ascend#19062 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Author Page: shuai-zhao-llmĐang mởauthor-page correction
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
acl-org/acl-anthology#10496 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày