Skip to content

Verify the op Host Tool and secrets_sync.py Natively on Windows #4188

Open

Description

@ptr727

Problem

Two changes that reach Windows have only been exercised there through a harness on Linux, or not at all.

What Is Already Known

  • On Windows 11, op signin and op whoami work when run directly, with sign-in assisted by the 1Password desktop app.
  • That is the path where op signin prints no session assignment. The tool handles it by reading op whoami again, and only a unit test holds that today.

What to Verify

On a Windows 11 host, by the maintainer at the keyboard:

  1. The installer's list and report for op, then an install, then a second install that changes nothing.
  2. The case where the package is already present from an earlier winget install by its moniker. The report should read it as installed and current, and an install should leave it alone.
  3. secrets_sync.py selftest, which uses constructed data in a scratch vault it creates and removes.
  4. A push and a pull --home of one constructed file in a scratch bucket. On Windows a push takes the mode from --mode or the existing tag, and a pull ignores the tag.

Record the results on this issue. A defect found becomes its own issue.

Blocked On

#4165 merging, for steps 3 and 4. Steps 1 and 2 can run from develop now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions