Introduce a per-user certificate inventory and migrate legacy PFX storage
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- PHP
- スター
- 844
- フォーク
- 176
- 平均マージ
- 13時間 46分
- マージ済み PR(30日)
- 299
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LibreSign/libresign のほかの issue
-
backend enhancement good first issue php
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
OpenSSL engine: leaf certificates get O=Internet Widgits Pty Ltd, ST=Some-State from system openssl.cnf対応中かも @vitormattos が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LibreSign/libresign#9366 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
LibreSign/libresign#9007 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LibreSign/libresign#8284 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
backend enhancement php
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
メンテナーはふだん 1 日以内に返信
LibreSign/libresign の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
backdrop-contrib/commerce#65 ·
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Evalogical-Inc/devReady#66 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mollie/PrestaShop#1627 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 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オープン✨️ai-candidate effort: [XS] module: webp cache priority: low type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信