Giter VIP home page Giter VIP logo

mpwc's Introduction

mpwc

Stateless password manager using Master Password algorithm.

Installation

nimble install mpwc

Requires libsodium installed.

Example usage

mpwc -p "probably not the best way to supply a password" -n $(whoami) -s github

If not provided as command line arguments, password, name and site are prompted in the terminal:

$ mpwc
password:
name: SolitudeSF
site: github
[ ═☻═⚔  ]: thisisit

If enviroment variable MPW_FULLNAME is set then the name is read from it.

You can use --stdin flag to read the password from stdin:

gpg2 -d -q "password.gpg" | mpwc --stdin -n me -s ssh

mpwc's People

Contributors

solitudesf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

axjh03

mpwc's Issues

value out of range crash

$ ./mpwc -p test -n test -s test.site
[ ╔░╝☂ ]: /home/user/Downloads/mpwc/src/mpwc.nim(129) mpwc
/home/user/.nimble/pkgs/cligen-1.4.0/cligen.nim(754) cligenScope
/home/user/.nimble/pkgs/cligen-1.4.0/cligen.nim(672) dispatchmpwc
/home/user/Downloads/mpwc/src/mpwc.nim(124) mpwc
/home/user/.nimble/pkgs/masterpassword-0.1.0/masterpassword.nim(73) getMasterKey
/home/user/.nimble/pkgs/masterpassword-0.1.0/masterpassword.nim(62) genMasterKey
/usr/lib/nim/system/fatal.nim(49) sysFatal
Error: unhandled exception: value out of range: 64 notin -9223372036854775808 .. 9223372036854775807 [RangeError]

$ nim -v
Nim Compiler Version 1.2.6 [Linux: amd64]
Compiled at 2020-09-07
Copyright (c) 2006-2020 by Andreas Rumpf

active boot switches: -d:release

Tried compiling with nimble install mpwc and nim c src/mpwc.nim from git.
How can I help with fixing this? Thanks.

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.