Supported delivery for existing collections with distinct passwords

Đang mở
#593 1 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ần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
authentication, security

Hướng nghiên cứu

Start with the linked comment in issue #506 and PR #592, then map oo7's existing credential/PAM and systemd credential-delivery paths in the Rust codebase to see where collection passwords are handled today. This is an interface-design question: done looks like a written, maintainer-approved spec for collection binding, warm-daemon delivery, handoff acknowledgement and rollback, not a patch. Expect back-and-forth with maintainers before any code changes.

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

Mô tả

enhancement server

This tracks the collection-specific delivery question raised in
#506.

For an existing user, persistent collections can have different passwords.
The systemd integration currently consumes the named credential
oo7.keyring-encryption-password. A supported desktop/authentication integration
needs to preserve those collections and their passwords while delivering each
collection's unlock material after successful authentication.

Could we define the supported collection binding and warm-daemon delivery
interface for that case? I would like to target oo7's existing credential/PAM
integration and keep privileged acquisition in the desktop/authentication
owner.

Required behavior for the downstream integration
  • Bind delivered material to the intended existing collection inventory.
  • Unlock every intended persistent collection with its existing password.
  • Preserve independently encrypted recovery and encrypted keyring files.
  • Do not create a collection, migrate a legacy keyring, change its password or
    write back merely to complete an unlock.
  • Acknowledge the complete handoff only after collections are initialized and
    verified unlocked. Buffered startup input alone is not completion.
  • Refuse an incomplete handoff and verify rollback; a failed rollback must
    discard the daemon's remaining secret memory.
  • Leave fresh OS-authentication authorization and lock/logout/sleep generation
    invalidation with the desktop/authentication layer.

The ordinary-password lockscreen contribution is
#592. COSMIC's caller still
needs a credential-refresh call after authentication/account success. Its
contributor policy requires a human-authored contribution for that task.
Credential refresh addresses the lifecycle hook; it does not establish
collection-specific TPM acquisition or delivery.

I have a disabled downstream prototype for validation, but have not proposed
its experimental bundle as a new upstream unlock method. This issue is to
identify the supported interface before continuing that integration.

Ngôn ngữ chính
Rust
Star
481
Fork
62
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
55

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

  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 linux-credentials/oo7

Tất cả issue của linux-credentials/oo7

Issue tương tự

Thêm issue về Rust

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.