We're back with a fresh update hot from the oven. We've got a new command, some bug fixes for our Windows friends, as well as some general stability improvements for all. Check out the release notes below for all the details!
New
Added `op delete trash` command to empty the trash for a vault.
Fixed
The CLI will now handle errors related to two-factor authentication with aplomb.
Windows users will no longer encounter occasional 403 errors while trying to sign in.
This command-line tool update is coming to you live from a wonderful patio under the sun, keeping everything running in tip-top shape. You can see everything we've changed since v0.4 in the release notes below!
Improvements
A more accurate error will now be output when authentication with Duo is denied.
The method of adding users to groups has been made more efficient.
Fixed
TOTP codes whose secret specifies a particular algorithm are now generated correctly.
Flags passed into op are no longer matched incorrectly because they are a prefix of another flag.
It's time for another command-line tool beta! On this bright and sunny, but still unseasonably cold April afternoon we're bringing you some new commands and a bevy of improvements and bug fixes. Let's see what's new!
New
Added the `op edit user` command with the ability to change a user's first and last names.
Added the `op edit group` command with the ability to edit the group's name and description.
Added the `op get group` command to get details about a group.
Added support for Duo and TOTP multi-factor authentication when signing into your 1Password account.
Improvements
`op get item` now returns only non-trashed items, unless the new `--include-trash` flag is passed.
Added type and state fields to the `op list users` output.
The `op list documents` output is now more detailed.
Help text across the tool is now much clearer.
Made certain confusing error messages more friendly.
Fixed
The `--vault` flag on `op get document` now works as expected.
Older document files will now download correctly without any changes needed.
op will now work correctly on systems with no user UIDs, in Alpine Docker containers for example.
The proper OS version is now reported to the 1Password server when using Windows, macOS, Ubuntu, Fedora, openSUSE, FreeBSD, NetBSD, OpenBSD, or Solaris.
One-time passwords with secrets of a non-standard length will now be displayed correctly.
Come one, come all! Version 0.3 of the 1Password command line tool has arrived! Today, we are bringing you a new command that will help in your item deleting quests, along with some improvements for all to enjoy. See the full changelog for details.
New
[NEW] Added the ability to delete items with `op delete item <item> [--vault] `
Multiple user accounts on a single system will now be able to use op independently
Improvements
Updated some prompts and error messages to improve clarity and consistency
Made improvements to the way request IDs are generated to ensure compatibility with future 1Password server updates
Updated the use of the `X-AgileBits-MAC` HTTP header to ensure compatibility with future 1Password server updates
Hello friends, today we are back with some bug fixes related to version 0.2. Notably, we fixed the issue where `op list items` could fail on vaults where access was granted via group membership. See the full changelog below for details!
Improvements
The list users output is now more concise, with 50% less empty fields.
Fixed
Fixed issue where vaults accessed via a group membership would be inaccessible.
Fixed issue where attempting to upload a file smaller than 16 bytes would fail.
Hello friends! We are coming back after some time off with a brand new feature release of the 1Password Command Line Interface. We've been hard at work delving deep into the code that powers this tool to make future releases that much quicker. Not only that, we have some brand new features, improvements, and fixes for you to enjoy, including some new commands! Let's see what's new:
New
Added the create group command
Added the delete group command
Added the add command to give users access to vaults and groups
Added the remove command to remove user access from vaults and groups
Added the delete vault command
Added builds for Solaris
Improvements
op is now built with the latest version of the Go language
The signout command will now correctly output an error when you are not signed in to begin with
Vault names are now included in the list vaults command output
Made the output from the update command clearer
The get totp command is now much more reliable thanks to better decoding of TOTP secrets
The get totp command now supports the 'period' parameter for codes that don't last 30 seconds
Fixed
Changing the email address on your 1Password account will now automatically update your CLI config file
Changing the subdomain on your Teams account will now automatically update your CLI config file
CLI utility commands such as --version and --help will now output to stdout rather than stderr
CLI utility commands now return a 0 status rather than an error status
Removed newline from get document output, ensuring document integrity checks pass
Vault that you manage but do not have read access to will no longer cause the list items or list vaults commands to crash
Greetings public beta testers! We'd like to thank you for an amazing launch with 0.1 yesterday. We've started getting some great feedback and we love seeing all the great things you're doing with the tool.
We've got a nice little bug hunt for you today with a few issues caught by you fine people in the first 24 hours after launch. An issue with signing in, an issue for users with a high permission set value, and some typos in our help text. Download now and enjoy! Full release notes below.
Fixed
Some of you noticed a typo or two in the tool's help text. Edited, they have been!
Users with a hyphen in their account's subdomain have had issues setting the environment variable for maintining sessions. These will now be automagically replaced with underscores.
Users with a high permissions value would be overflowing our lowly integers. This now has 64 bits of error-free address space.
Hello, and welcome to the 1Password Command Line Interface Public Beta! It's been a great few months of testing by our lovely private beta community, and today we're excited that `op` is ready for the masses... to test!
This build is almost identical to v0.0.5 with a few under-the-hood tweaks, and it is ready for prime-time! Remember, any feedback you may have can be directed to our discussion forums, or to support+cli[at]agilebits.com. Happy beta everyone!
Fixed
Updated the way the CLI identifies itself to the 1Password.com API to ensure future compatibility
Hello and welcome to the 1Password Command Line Interface's second release candidate for public beta! In the short week since our last release we've squashed a few small bugs and made a few improvements! Read all about it below, and download now to try it out!.
Improvements
The `op delete user` command would previously output an unhelpful server error when trying to delete a user that is not suspended. The message is now much friendlier.
The `op create vault`, `op create item`, and `op create document` commands now output JSON with some extra information about the object created, rather than a lonely UUID.
Fixed
The pubKey field from the `op list groups` command was AWOL. We brought it back safe and sound.
The `op reactivate` command was being greedy and expecting 2 arguments when 1 would suffice. This has been resolved.
When creating an item, op would set some optional fields as null rather than empty, which would cause the other apps in the family to get a little queasy. This has been resolved.
Welcome to our public beta release candidate! It's been a little over a month since our last release and oh the times, they are a' changin'! We've got some massive improvements to share with you.
Firstly, we have a new signin flow! We've started saving session tokens into environment variables so you can save your session and use `op` without needing to pass the session token into every command! Yay! Run a quick eval $(op signin [shorthand]) to save your 30 minute session token!
Of course, you can still do things the old way if you wish, using the --session=[token] flag on any command, or by passing the token to stdin as before.
We also have some great improvements to getting and listing items. `op list items` will now show much more than a list of UUIDs. You'll get a nice overview of each item including the title and URLs!
In addition, `op get item` now includes WAY more information. Run it to find out just how much :)
Read on to see all the fixes, improvements and features we've added!
New
`op signin` now outputs a command to save session tokens into environment variables
Added the `--shorthand` flag to the signin command to allow multiple users from the same account
Added the `--session` flag to all commands to keep backwards-compatibility with old authentication style (see --output=raw below)
Added `op update` command to check for new versions
Added `list templates` command to view all available item templates
Added `--title`, `--url`, and `--tags` flags to the `create item` command
Improvements
`op` now handles TOTP codes much more robustly
Improvements to our SRP server-client verification protocol
The delete command is now a properly formatted CLI subcommand
Added help text to top-level commands
All optional parameters have been converted to flags
Added the `--output=raw` flag to the signin command to get a raw session token
Item, Template, and Vault names, as well as item URLs are now case insensitive
The `get item`, `list items`, and `list documents` commands now show far more information, including URLs and item titles
Fixed
The `--vault` flag was previously causing an error when used with the `list documents` command, this has been resolved
Welcome to the last alpha build before our public beta release candidate cycle begins! We've completely overhauled the command structure of op, grouping commands into several categories: create, get, and list. You can use these commands with items, vaults, groups, users, and more!. Use the --help flag on any of these new top-level commands to see what's available.
We also now have support for creating ANY item type! Now you can create anything from Logins to Wireless Router items.
Also new to go along with this release is our official documentation! . You can learn how to get everything up and running, and see all the options for your favorite commands.
One last change that's important to mention is that creating new items now requires the use of the new `op encode` command. Simply pass your item JSON into `op encode` via stdin (pipe works best), and you'll recieve the encoded data needed for `op create item`.
New
op now includes an `encode` command for getting your item JSON ready for `op create item` {op-115}
Improvements
op now has a new and improved command structure! Run `op --help` to learn more. {op-116}
In this build of op we are improving the security of our logging. Logs now output to /dev/null, and are set to the `errors` level by default. These can be changed with the `--log-output` and `--log-level` flags.