Introduce a per-user certificate inventory and migrate legacy PFX storage
Maintainer thường phản hồi trong vòng 1 ngày
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
- 12/100
Hướng nghiên cứu
Start from SignEngineHandler, where the single signature.pfx filename is used, and trace how certificate creation, lookup and deletion assume one certificate per account. The work is a schema and storage design plus an idempotent migration, so read the existing storage code before proposing a data contract. Done means the acceptance criteria hold: existing PFX files are discoverable without reissuance, repeated migration is a no-op, accounts cannot read each other's material, and legacy signing still works.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Introduce a persistent inventory capable of representing multiple signing certificates per Nextcloud account, while preserving all existing reusable PFX certificates.
Current state
SignEngineHandler uses a single signature.pfx filename. Certificate creation, lookup and deletion assume one reusable certificate per account.
Scope
- Introduce individual certificate records with stable identifiers and strict account ownership.
- Store certificate metadata separately from protected PKCS#12 material.
- Include issuer reference, subject, serial number, SHA-256 fingerprint, validity period, source, status and optional organizational context where applicable.
- Support multiple inventory records for the same user without requiring multiple CAs.
- Define a storage reference that does not expose private certificate material.
- Migrate existing
signature.pfxfiles idempotently, preserving their contents and password protection. - Retain compatibility with existing certificate lookup and signing paths during migration.
- Establish backend contracts for later certificate-specific operations and UI development.
- Avoid assuming that every certificate is LibreSign-issued or belongs to a Nextcloud group.
Acceptance criteria
- Existing certificates are discoverable through the inventory without reissuance.
- Two certificates belonging to one account have distinct records and protected storage references.
- An account cannot retrieve another account's certificate material.
- Repeated migration does not create duplicate records, overwrite PFX files or revoke certificates.
- Listing certificate metadata does not require reading every PFX.
- Missing files and inconsistent legacy records produce safe, recoverable behavior.
- Tests cover ownership, migration, duplicate detection, storage failures and legacy signing compatibility.
- The backend data contract and migration behavior are documented.
Out of scope
The complete CRUD UI, policy-based CA selection, certificate delegation, cloud certificates and interactive signing selection.
- Ngôn ngữ chính
- PHP
- Star
- 844
- Fork
- 176
- Merge trung bình
- 13 giờ 46 phút
- Pull request đã merge (30 ngày)
- 299
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- 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 LibreSign/libresign
-
backend enhancement good first issue php
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
OpenSSL engine: leaf certificates get O=Internet Widgits Pty Ltd, ST=Some-State from system openssl.cnfCó thể đã có người làm @vitormattos đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LibreSign/libresign#9366 · 1 người được giao ·
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 83/100
LibreSign/libresign#9007 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LibreSign/libresign#8284 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backend enhancement php
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của LibreSign/libresign
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
backdrop-contrib/commerce#65 ·
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Evalogical-Inc/devReady#66 ·
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
mollie/PrestaShop#1627 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsOfFlarum/follow-tags#118 ·
-
WebP — PHP 8.5 deprecation "Using null as an array offset" in url_to_path() for relative image URLsĐang mở✨️ai-candidate effort: [XS] module: webp cache priority: low type: bug
Độ 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