Package Details: 1password-cli 2.30.0-1

Git Clone URL: https://aur.archlinux.org/1password-cli.git (read-only, click to copy)
Package Base: 1password-cli
Description: 1Password command line tool
Upstream URL: https://app-updates.agilebits.com/product_history/CLI2
Keywords: 1password
Licenses: custom
Submitter: Sh4rk
Maintainer: slurpee
Last Packager: slurpee
Votes: 46
Popularity: 0.82
First Submitted: 2017-09-07 18:54 (UTC)
Last Updated: 2024-08-06 00:41 (UTC)

Pinned Comments

slurpee commented on 2022-03-22 11:18 (UTC) (edited on 2024-01-21 23:34 (UTC) by slurpee)

As of the 2.24.0-2 release, Zsh shell completion is no longer provided by the package to mirror the official packages. Users that wish to use shell completion can add a line to their shell's dotfile.

See the official docs for instructions specific to your shell: https://developer.1password.com/docs/cli/reference/commands/completion/


It is recommended to verify the authenticity of the binary by using Agilebits's PGP code signing key. Their public key ID is published in the install documentation.

gpg --receive-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

ElijahLynn commented on 2022-07-19 21:37 (UTC)

==> Validating source_x86_64 files with sha256sums...
    op_linux_amd64_v2.5.1.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: 1password-cli

slurpee commented on 2022-07-19 19:08 (UTC)

It appears that AgileBits was running some beta tests and the beta binaries were inadvertently uploaded to their CDN. They have reverted this change on the 18th of July.

I confirmed the binaries have been reverted to the previous versions (GPG and sha256 of the binary) and updated the sha256sums to match the current ZIP archives available on their CDN.

slurpee commented on 2022-07-18 19:58 (UTC)

I reached out to AgileBits to verify the hashes were changed. The GPG signatures are still valid, which means the updated binaries are genuine.

slurpee commented on 2022-07-16 22:28 (UTC)

Thanks for the heads up! I'll reach out to 1password; this has happened in the past.

I'll be able to push an update later today if necessary.

hiddeco commented on 2022-07-16 10:11 (UTC)

The checksums of the v2.5.1 release files appear to have changed:

$ sha256sum op_linux_arm64_v2.5.1.zip 
fda303671d564266a94c67ab705e2d7b6c65a61c94d62fef00999e160a6946f7  op_linux_arm64_v2.5.1.zip
$ sha256sum op_linux_amd64_v2.5.1.zip 
7d4b2e278c9725e143c4fd1adb04485d4478e4742133c88b5d49579646b0fd8d  op_linux_amd64_v2.5.1.zip

nicoulaj commented on 2022-04-17 18:37 (UTC) (edited on 2022-04-17 18:38 (UTC) by nicoulaj)

Could you please include shell completion files in the package ? eg: op completion zsh > ${pkgdir}/usr/share/zsh/site-functions/_op

See https://developer.1password.com/docs/cli/reference/commands/completion

Auerhuhn commented on 2022-03-22 11:39 (UTC)

Hi slurpee,

Thanks for the quick fix and the description. The 2.0.0-4 update is working fine for me.

I had the 9xx onepassword-cli group from 2.0.0-3. I deleted it before updating as you suggested. During the Pacman update, it said: groupadd: group 'onepassword-cli' already exists. But I’m not worrying about that because everything seems to work now.

Now my system has both the 1password and 1password-cli groups with proper gids > 1000. Thanks again for the heads up.

slurpee commented on 2022-03-22 11:18 (UTC) (edited on 2024-01-21 23:34 (UTC) by slurpee)

As of the 2.24.0-2 release, Zsh shell completion is no longer provided by the package to mirror the official packages. Users that wish to use shell completion can add a line to their shell's dotfile.

See the official docs for instructions specific to your shell: https://developer.1password.com/docs/cli/reference/commands/completion/


It is recommended to verify the authenticity of the binary by using Agilebits's PGP code signing key. Their public key ID is published in the install documentation.

gpg --receive-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22

slurpee commented on 2022-03-22 10:59 (UTC)

Hello all, apologies for the issues. I've narrowed down a fix and will be pushing momentarily. The 1password-cli group was being created via systemd-sysusers which probably automatically gave it a gid below 1000; the op binary was also given the setgid bit, as detailed in the Getting Started doc.

After some tests, I found that the binary was not executing as the 1password-cli group, but as my user's group. I then bumped the gid of 1password-cli over 1000 and I see the op binary running as the 1password-cli group and I'm now getting Polkit prompts as expected.

I'm not sure why this happened, but as a fix, I've swapped out 1password-cli.sysusers for a groupadd in the .install, which will create a group with a gid over 1000

Please see the new pinned comments which will detail upgrade instructions if you were affected.

vanhtuan0409 commented on 2022-03-22 02:11 (UTC)

Hi @slurpee, thank for your work here

I got this error whenever I tried to use cli v2 with desktop integration

connecting to desktop app: read: connection reset, make sure the CLI is correctly installed and CLI Biometric Unlock is enabled in the 1Password app

Do you happen to know how to fix this?