Giter Club home page Giter Club logo

pwm's Introduction

密码管理工具。

原理

思路来源于花密
算法hmac

签名字符串用命令行参数中的域名账号拼接生成。签名秘钥来源于用户输入,生成签名后转为base64编码,基于一定规则生成一个包含大小写字母和数字的15位密码。

使用

安装

pip install pwm-tool

生成密码

默认使用空字符串作为签名秘钥。

⇒ pwm -d github.com -a ls0f

使用自己的秘钥签名(-k):

⇒  pwm -d github.com -a ls0f -k
your key:

保存域名和账号

首先你需要配置数据库的保存路径。

echo "export PWM_DB_PATH=your_path" >> ~/.bashrc
source ~/.bashrc

pwm -d github.com -a ls0f -w

这里只会保存域名和账号,方便搜索。密码都是通过密钥算出来的。

搜索

可基于账号和域名模糊搜索:

pwm -s ls0f
pwm -s github.com -k

安全性

保证你签名秘钥的安全!!!

在线生成

https://ls0f.github.io/pwm/

pwm's People

Contributors

ls0f avatar lyj-cooyun avatar

Stargazers

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

Watchers

 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.