After enabling client certificate authentication: Error: {"detail":"Authentication credentials were not provided."}
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
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- authentication, cli, security
Hướng nghiên cứu
Start by reproducing the verbose pulp --config secret/cli.toml --verbose rpm repository list request with PULP_CA_BUNDLE set, then inspect how pulp-cli combines client certificates, CA bundles, and admin credentials. The secret/cli.toml configuration and PULP_CA_BUNDLE environment variable are the concrete inputs. Done means the authenticated request returns the repository list when client certificate authentication is required.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
[cli]
base_url = "https://pulp3.hostname.tld"
username = "admin"
password = "password"
api_root = "/pulp/"
domain = "default"
format = "json"
cert = "secret/client.cert.pem"
key = "secret/client.key.pem"
verify_ssl = true
First I got CERTIFICATE_VERIFY_FAILED because pulp cli config file has no option for providing CA certificate bundle.
After enabling environment variable export PULP_CA_BUNDLE="secret/ca.crt" a new error appears:
$ pulp --config secret/cli.toml --verbose rpm repository list
repositories_rpm_rpm_list : get https://pulp3.hostname.tld/pulp/api/v3/repositories/rpm/rpm/?offset=0&limit=25
Response: 401
Error: {"detail":"Authentication credentials were not provided."}
Admin credentials didn't change, i just added client certificate authentication requirement to relevant ingress.
Steps to reproduce
As provided above
Expected behavior
pulp cli would return repository list
Pulp and pulp-cli version info
pulp-cli version:
$ pulp --config secret/cli.toml --version
Pulp3 Command Line Interface, Version 0.29.1
Plugin Versions:
common: 0.29.1
Pulp version:
latest default images from pulp-operator
- Ngôn ngữ chính
- Python
- Star
- 43
- Fork
- 52
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 pulp/pulp-cli
-
bug Triage-Needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
-
For RPM repositories support setting package_signing_service and package_signing_fingerprintĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
feature request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
container repository sync mirror option missingCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởeasy fix feature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
bug Triage-Needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
Tất cả issue của pulp/pulp-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NousResearch/hermes-agent#136483 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] LazyStackedTensorDictStore zeroes the last byte of a new key set on the last elementCó thể đã có người làm @peterdsharpe đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pytorch/tensordict#2307 ·
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 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
GrokModel.generate/a_generate pass an OpenAI-style list-of-dicts to xai_sdk.chat.user(), so every call crashes with a protobuf TypeError before any network I/OCó thể đã có người làm @Christian-Sidak đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
confident-ai/deepeval#3436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày