Select and authorize signing certificates by request context

Đang mở
#9,446 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
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php

Hướng nghiên cứu

Start by identifying the certificate inventory and issuer/context contracts; the issue says implementation depends on those integrations, but names no files, tests, or entry points. Resolve the listed policy and lifecycle questions before implementation. Done means request policy controls eligible certificate choices, backend checks block prohibited signing, and automated integration and browser tests cover eligible, ambiguous, and prohibited selections while existing signed PDFs remain valid.

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

Mô tả

enhancement

Goal

Automatically suggest and securely authorize the appropriate personal signing certificate for each signature request, considering its organizational context and the signer's eligible certificates.

Confirmed requirements

  • Associate signing requests with a backend-validated organizational context when applicable.
  • Preserve the relevant context and resolved policy across the signing lifecycle.
  • When a request belongs to organization A, prefer an eligible certificate associated with A.
  • When a request belongs to organization B, prefer an eligible certificate associated with B.
  • Support users belonging to multiple groups and owning multiple certificates.
  • Allow manual selection among certificates permitted by the request policy.
  • Allow certificates from another organization or external issuer only when explicitly permitted.
  • Support one optional global default certificate per user without overriding context-specific eligibility.
  • Prompt for selection when multiple eligible certificates remain and no unambiguous default exists.
  • Handle missing, expired, revoked, disabled and inaccessible certificates.
  • Prevent unauthorized cross-context use through backend checks, including immediately before signing.
  • Preserve the distinction between persistent certificates and temporary Click to Sign certificates.
  • Record the effective certificate and issuer used for signing without exposing private keys or passwords.
  • Preserve validation and auditability of previously signed documents.

Questions to resolve

  • Which event establishes the organizational context of a signing request.
  • Whether the context may differ for individual signers in the same request.
  • Handling an external signer who is not a member of the requesting organization.
  • The precise eligibility rules for imported certificates.
  • The treatment of group membership changes after a request is created.
  • Recovery and UX when no eligible certificate exists.

Planning gate

Implementation depends on the certificate inventory and issuer/context contracts. UX prototypes and simulated contract tests may proceed before those integrations are available.

Done when

  • Certificate selection is predictable for multi-group users.
  • Request policy determines eligibility; frontend choices cannot bypass it.
  • Temporary, imported and persistent certificate flows remain functional.
  • Automated integration and browser tests cover eligible, ambiguous and prohibited selections.
  • Existing signed PDFs remain valid and signing documentation is updated.
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.