Giter Club home page Giter Club logo

rusty_keychain's Introduction

rusty_keychain

Simple cli password manager but a bit rusty

Disclamer

This project was written as a means to an end of doing something outside the comfort of The Rust Book and, hopefully, learn something along the way. Thus said, if you really want, for some odd reason, to use this software, do it at your own discretion

How to use

Configuration

Config file is located at ~/.config/rusty_keychain/rusty_keychain.toml for Linux and at a standard config directory for MacOS and Windows.

Example (default) configuration

[local]
path='~/.rpswd'

Configuration options

Local

path - path on the local machine to a storage file holding encrypted passwords

Running

To run in interactive shell mode run

cargo run

To execute command in CLI mode run

cargo run -- [FLAGS] [ARGS]

Example of cargo run -- -h

rusty_keychain 0.1.0

USAGE:
    rusty_keychain [FLAGS] [service]

FLAGS:
    -a, --add        Add the specified service into keychain
    -h, --help       Prints help information
    -l, --list       Show all available services and exit
    -V, --version    Prints version information

ARGS:
    <service>    Name of the service. Don't specify to start in interactive mode

Interactive shell mode

Available commands when running in interactive shell mode

 add [SERVICE]  :  Add a service to the keychain
 help           :  Print this help
 history        :  Print commands history or run a command from it
 list           :  List all the services in the keychain
 quit           :  Quit
 show [SERVICE] :  Show a password for a given service

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.