Giter VIP home page Giter VIP logo

ringpass's Introduction

Ringpass - A trivially simple Password Manager, backed by Keyrings

This is really meant as a golang learning project. Please use accordingly :)

Compatibility

  • Works on *Nix
  • Works on OSX

Dependencies

Linux

The Linux implementation depends on the [Secret Service][SecretService] dbus interface, which is provided by GNOME Keyring.

It's expected that the default collection login exists in the keyring, because it's the default in most distros. If it doesn't exist, you can create it through the keyring frontend program Seahorse:

  • Open seahorse
  • Go to File > New > Password Keyring
  • Click Continue
  • When asked for a name, use: login

Features

  • Set Secret (stores in keyring, keychain)
  • Retrieve secret to clipboard and JSON (stdout) for things like JQ, etc or use in automated scripts

Usage

asciicast

  • Download binary for your OS from the releases to /usr/local/bin or other exec directory

Store secrets

ringpass set --key hello --service aws 
Enter value: 
  • Has the ability to handle getpasswd() style password prompt

OR

ringpass set --key hello --service aws --value supersecret
2020/02/18 07:51:25 Successfully stored Key, Value and Service in Keyring
  • Reads string literals from stdin

Short-codes for flags also available

ringpass set -k hello -s aws -v supersecret

Retrieve secret

Copy to clipboard

ringpass get -c -s aws -k hello
2020/02/18 07:55:27 Successfully written secret to system clipboard
  • Copies to clipboard

Write to JSON - stdout

ringpass get -j -s aws -k hello
{"service":"aws","key":"hello","value":"supersecret"}
  • Additional cmdline-fu
ringpass get -j -s aws -k hello | jq -r .value

ringpass's People

Contributors

abhaybhargav avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.