Support multiple personal signing certificates per user

Đang mở
#9,442 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php

Hướng nghiên cứu

Start by tracing how the account UI retrieves and deletes signature.pfx, then inspect certificate storage, authorization, migration, and lifecycle tests. The issue names no specific files or tests, so locate the existing certificate flow and its test coverage before proposing a design. Done means multiple isolated certificates, safe legacy migration, certificate-specific operations, updated UI and documentation, and passing ownership, authorization, lifecycle, and UI tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Goal

Allow each Nextcloud account to own and manage multiple individual signing certificates, whether issued by LibreSign or imported, without certificate delegation or sharing of private keys.

Current behavior

LibreSign stores a reusable certificate as signature.pfx and retrieves it by account identifier. The current account UI assumes a single certificate. Deletion can revoke all issued certificates belonging to the account.

Confirmed requirements

  • Support multiple certificates per account, with a stable certificateId.
  • Associate each certificate with its owner, issuer and, where applicable, organizational context.
  • Support LibreSign-issued and imported PFX certificates.
  • Keep certificate material in protected storage, with searchable metadata in the database.
  • Expose subject, issuer, fingerprint, serial number, validity, source and status without reading every PFX during listing.
  • Provide certificate-specific operations for import, issuance, inspection, password change, removal and revocation where applicable.
  • Distinguish removing stored material from revoking a certificate at its issuing CA.
  • Allow one optional global default certificate per account.
  • Move certificate management from the profile header to a dedicated My certificates section.
  • Preserve existing PFX files and signing behavior through an idempotent migration.
  • Never enable delegation, shared private-key use or persistent storage of PFX passwords.

Questions to resolve

  • Final protected-storage layout and ownership model.
  • Lifecycle and availability after group membership changes.
  • Distinction between user-owned imported certificates and organization-scoped LibreSign certificates.
  • Behavior when the default certificate expires or becomes ineligible.

Done when

  • A user can independently manage multiple certificates without overwriting or revoking unrelated certificates.
  • Existing installations retain access to legacy certificates.
  • Ownership, isolation, authorization, migration and lifecycle tests pass.
  • The new UI has automated tests and reviewed visual evidence.
  • User and administrator documentation is updated.

Handoff

Before closing, review downstream certificate-selection requirements against the implemented identifiers, metadata, lifecycle and authorization contracts.

Ngôn ngữ chính
PHP
Star
844
Fork
176
Merge trung bình
14 giờ 3 phút
Pull request đã merge (30 ngày)
344

Chuẩn bị môi trường

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LibreSign/libresign

Tất cả issue của LibreSign/libresign

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.