Implement browser getRandomValues without depending on crypto
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- cryptography
Hướng nghiên cứu
Bắt đầu bằng cách xem xét triển khai getRandomValues cho browser của package này và cuộc thảo luận crypto-browserify được liên kết. Theo dõi cách randombytes được chọn ở chế độ browser và cách fallback của crypto-browserify tạo ra dependency vòng tròn đã được báo cáo. Công việc được xem là hoàn tất khi một triển khai được hỗ trợ hoạt động trong JavaScript VM không phải browser được mô tả mà không phụ thuộc vào triển khai crypto native.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This is based on this discussion
TL;DR: I propose having an implementation of getRandomValues that does not depend on a native implementation of crypto.
I am having an issue with bundling my code and running it in a non-browser environment, using modules that depend on crypto, which depends on randombytes' implementation of getRandomValues. If I bundle my code in "browser" mode, I get the error 'Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11'.
If I don't bundle it in browser mode but force browser fallback for crypto-browserify (which is necessary in my use-case, the javascript VM I'm using does not implement crypto), then I get a circular dependency and getRandomBytes is never implemented.
Is it possible to implement it in this package? If not is there any particular reason? And can I help in some way?
- Ngôn ngữ chính
- JavaScript
- Star
- 102
- Fork
- 47
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 browserify/randombytes
-
Make package tree-shakeable Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
browserify/randombytes#40 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
browserify/randombytes#38 · 2 reaction ·
-
Last version is not deployed Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
browserify/randombytes#36 · 2 bình luận · 6 reaction ·
-
Broken on SSR Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
browserify/randombytes#33 · 2 bình luận · 1 reaction ·
-
remove phantomjs Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 38/100
browserify/randombytes#26 ·
Tất cả issue của browserify/randombytes
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100
-
Issue-Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
sugarlabs/musicblocks#8924 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Đang mởcustomer-eng status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100