"tag byte does not have MSB set" whith gpg_provider internal
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ệ
- go
- Lĩnh vực
- backend-api-design, security
Hướng nghiên cứu
Reproduce the failure with aptly 1.6.2 using the provided API sequence: add the VSCodium key, then create the mirror. Start by tracing how the internal GPG provider loads trustedkeys.gpg during mirror creation and compare that with the successful key-add response. Done means mirror creation succeeds with the supplied key, without the invalid-data error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hey @neolynx ,
when using the internal gpg_provider, I get the following error when creating or updating a mirror:
unable to initialize GPG verifier: failure loading trustedkeys.gpg keyring: openpgp: invalid data: tag byte does not have MSB set
I am using aptly 1.6.2. Here is a short example using the API, when trying to mirror the vscodium repo:
def add_key():
resp = requests.get(
"https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg")
body = {
"GpgKeyArmor": resp.text,
"Keyring": "trustedkeys.gpg",
}
url = "http://localhost:8080/api/gpg/key"
resp = requests.post(url, json=body)
print(resp.status_code)
print(resp.text)
def create_mirror():
body = {
"Architectures": ["amd64"],
"Distribution": "vscodium",
"Filter": "codium (>= 1.102.35058)",
"FilterWithDeps": True,
"Name": "vscodium",
"ArchiveURL": "https://download.vscodium.com/debs",
}
url = "http://localhost:8080/api/mirrors"
resp = requests.post(url, json=body)
print(resp.status_code)
print(resp.text)
if __name__ == "__main__":
# add_key()
create_mirror()
add_key() works, but create_mirror() responses with that error.
- Ngôn ngữ chính
- Go
- Star
- 2.9k
- Fork
- 436
- 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
- Đọ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 aptly-dev/aptly
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
Tất cả issue của aptly-dev/aptly
Issue tương tự
-
Độ 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
-
orchestration.migration.data.tasks.retry values are ignored by the 8.8 data migration jobCó thể đã có người làm @irisfield đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
camunda/camunda-platform-helm#7773 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add missing unit tests for IsAdmissionPolicyName and IsCertManagerResourceNameCó thể đã có người làm @a1h8 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubernetes-sigs/security-profiles-operator#3644 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Anthropic Responses converter forwards empty text blocks, upstream rejects with 400Có thể đã có người làm @david-choi-querypie đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[DOCS]: enforce_admins description understates what it covers and omits push restrictionsCó thể đã có người làm @dav-tb đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
integrations/terraform-provider-github#3707 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày