Git Product home page Git Product logo

password-management's Introduction

命令行密码管理器

它是一个命令行里的密码管理工具,安装后需要执行pass init初始化密钥,存储的所有密码都会依赖这个密码进行AES加密。

安装

npm install -g password-management

更新安装包

npm update -g password-management

查看帮助

# 命令行执行查看命令帮助
pass | pass -h

Usage: index [options] [command]

Options:
  -h, --help        display help for command

Commands:
  add [options]     save username and password
  update [options]  update password by username
  get [options]     get password by name or username
  remove [options]  remove password by name or username
  removeAll         remove all password records, dangerous!!!
  init              init command
  help [command]    display help for command

初始化密钥

pass init

新增密码

pass add -nbaidumail -uroot -proot

查看密码(模糊查找)

# 根据名称查找
pass get -nbaidu
# 根据用户名查找
pass get -ubaidu
# 同时从名称和用户名查找
pass get baidu
# 查看所有的密码
pass get -a

更新密码

pass update -nbaidumail -uroot -proot

删除密码

pass remove -nroot -uroot

清空密码

pass removeAll

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.