Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 1password-cli always ask for authorization (winget version is working as expected) #6684

Open
3 tasks done
notdodo opened this issue Apr 3, 2025 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@notdodo
Copy link

notdodo commented Apr 3, 2025

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

1password-cli

Expected/Current Behaviour

the 1password-cli op command if installed with Scoop always (literally for every command even one after another without waiting time) for authorization.
The op command installed with winget instead correctly ask for authorization only after the timeout for subsequent commands

Steps to Reproduce

PS> scoop install 1password-cli

PS> $env:TF_VAR_stuff=$(op read "op://Private/stuff/mystuff")
you are asked for authorization; fine for the first time
PS> $env:TF_VAR_other_stuff=$(op read "op://Private/stuff/otherstuff")
you are asked gain for authorization

PS> scoop uninstall 1password-cli
PS> winget install AgileBits.1Password.cli

PS> $env:TF_VAR_stuff=$(op read "op://Private/stuff/mystuff")
you are asked for authorization; fine for the first time
PS> $env:TF_VAR_other_stuff=$(op read "op://Private/stuff/otherstuff")
not asked again for authorization

Possible Solution

no idea sorry 😿

Scoop and Buckets Version

Current Scoop version:
859d1db5 chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
c4942345d xz: Update to version 5.8.1

'extras' bucket:
e25284aac6 [email protected]: Fix hash (Closes #15206)

Scoop Config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
03/04/2025 21:27:09 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@notdodo notdodo added the bug Something isn't working label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant