Upstream proxy authentication - Is it possible to obfuscate password?
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
- 25/100
Hướng nghiên cứu
Start by reading tinyproxy's command-line and configuration handling to see how config files are opened and how upstream proxy credentials are parsed. The issue proposes two approaches but does not settle their scope or expected behavior. Done would require an agreed design for protecting credentials and a way to verify it; the thread has had no comment for 639 days.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I need to configure my Upstream proxy with authentication.
Is it possible to obfuscate the password?
Upstream http myUser:myPassword@proxyHost:proxyPort
Sugestions:
a) Ask for the key during startup and using it to decript the password
b) Allowing the config file to be read from stdin and we could use openssl to decrypt it.
Encryption / decryption example with config from stdin
tinyproxy.conf - initial plain text config
Encrypt
openssl enc -in tinyproxy.conf -e -aes256 -pbkdf2 > tinyproxy.conf.enc
rm tinyproxy.conf
Run tinyproxy
openssl enc -in tinyproxy.conf.enc -d -aes256 -pbkdf2 | tinyproxy -d -c-
In this scenario, -c- would allow config to be read from stdin.
- Ngôn ngữ chính
- C
- Star
- 6.1k
- Fork
- 768
- Merge trung bình
- 15 ngày 3 giờ
- 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 tinyproxy/tinyproxy
-
HTTP Request Smuggling: non-final chunked Transfer-Encoding not rejected (CWE-444)Có thể đã có người làm @code1a2024 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
Feature request: opt-in destination-CIDR denial for direct origin connectionsCó thể đã có người làm @omrzk đã nhận 28 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 49/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của tinyproxy/tinyproxy
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
jaredgei/wow-forever-android#97 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
on_ctrl_redirect(): iterator never advances — infinite loop stalls the event loop at 100% CPUĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
openziti/ziti-sdk-c#1254 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Requisite=graphical-session.target lets a D-Bus activation at logout cancel the target's stopĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
flatpak/xdg-desktop-portal#2215 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not existCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:http kind:gate-defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
InauguralSystems/EigenScript#2397 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add SECURITY.mdĐang mởenhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày