Skip to main content

密码咚 - 账号密码管理 CLI

Project description

密码咚(dong-pass)

账号密码管理 CLI - 帮你安全存储和管理账号密码

安装

pipx install dong-pass

快速开始

# 初始化
dong-pass init

# 添加账号
dong-pass add github --account gudongtongxue --password "Gudong123!@#" --category "个人"

# 查询账号
dong-pass get github

# 列出所有
dong-pass list

# 搜索
dong-pass search "github"

命令

命令 说明
init 初始化数据库
add 添加账号
get 获取账号
list 列出所有
search 搜索
update 更新账号
delete 删除账号
stats 统计信息
export 导出为 JSON
import 从 JSON 导入
set-master 设置主密码
change-master 更改主密码
remove-encrypt 移除加密

加密存储

# 设置主密码(加密模式)
dong-pass init --master-password "MySecretKey"

# 添加时加密
dong-pass add github --account gudong --password "123456" --encrypt

# 查询时需要输入主密码
dong-pass get github
# 输入主密码: MySecretKey
# 显示密码: 123456

数据库

数据存储在 ~/.dong/accounts.db

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dong_pass-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dong_pass-0.1.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file dong_pass-0.1.0.tar.gz.

File metadata

  • Download URL: dong_pass-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for dong_pass-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa761932de7c2adcfcd5291d3f68b293ac11bc0629d4e69122ac24400c18f969
MD5 54a28c76acb146a0498584ccd37b8857
BLAKE2b-256 78d8cf526bb12d516d5efc0baa2b53c734d7c608d5cde2ef02f596a673887c85

See more details on using hashes here.

File details

Details for the file dong_pass-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dong_pass-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for dong_pass-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae6c96724daa3c1dd555ea74ef95f4aa882697e2e0f540683d69ce79330e11fb
MD5 4bf6d1f71d9dfab7bb2860fea8fefbe1
BLAKE2b-256 1c0b55b8fdf5d8b01620d07b00e9d9a6e6ef73886f8940e77cd7521d8edd0054

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page