Socket
Socket
Sign inDemoInstall

1pass

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    1pass

1Password reader for the command line.


Version published
Weekly downloads
4
decreased by-69.23%
Maintainers
1
Install size
138 kB
Created
Weekly downloads
 

Readme

Source

1Pass

Unofficial 1Password reader for the command line.

Installation

Install NPM, then:

npm install -g 1pass

Usage

1pass list [QUERY]

Lists the items in your keychain. If a QUERY is given, only items matching QUERY are shown. Otherwise all items are listed.

1pass show QUERY

Lists the full details of all items matching the given QUERY. show is the default command, so unless there's ambiguity, you can shorten this to:

1pass QUERY

Queries

1pass lets you be brief with your queries. Try just giving a substring, or omitting characters in the middle of key names. For example 1pass haw will match an item named "howaboutwe.com" (as well as anything else containing 'h', 'a', 'w' in that order).

Your Keychain

By default, 1pass will look for your data in common locations:

  • ~/Library/Application Support/1Password/1Password.agilekeychain
  • ~/Dropbox/1Password.agilekeychain

If there's nothing there, it'll ask.

You can point 1pass to your keychain with a -d option.

1pass -d /path/to/secrets.agilekeychain list

1pass does not remember your selection, nor is there a configuration file yet. For now, please use a shell alias.

Help

As always:

1pass --help

Disclaimer

1Pass is not developed, maintained, or endorsed by Agile Bits, creator of 1Password. Use at your own risk.

Contributing

  • Bug reports
  • Source
  • Patches: Fork on Github, send pull request.
    • Include tests where practical.
    • Leave the version alone, or bump it in a separate commit.

Copyright (c) George Ogata. See LICENSE for details.

Keywords

FAQs

Last updated on 12 Mar 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc