Skip to content

Recovery: bundle import needs a passkey step-up like export #403

Open

Description

@andersalm

full_recovery_bundle_import_inner (api/auth_gateway.rs:1721-2010) checks the Home/System launch token, a proof-bound session and an active passkey principal, but no step-up and no admin check, while export consumes a step-up (:1567). Someone holding a session and a valid bundle can bind replacement principal-root and wallet material, including reassign_to_current_principal.

Done means: import requires a fresh step-up; guests cannot use reassign_to_current_principal; tests.

Source: external audit of develop 55dcb79 (rev 3) verified independently by OMP and grook on 16 Oct. Related: #88, #178.

Activity

  1. added this to the After 0.8.0 milestone on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions