Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkuznet/kpass
KeePass command line client (CLI)
https://github.com/vkuznet/kpass
Last synced: 30 days ago
JSON representation
KeePass command line client (CLI)
- Host: GitHub
- URL: https://github.com/vkuznet/kpass
- Owner: vkuznet
- License: mit
- Created: 2023-01-25T14:59:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T19:05:13.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T06:27:35.462Z (3 months ago)
- Language: Go
- Size: 26.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# kpass, command line client (CLI) for [KeePass](https://keepass.info/)
[![Build Status](https://github.com/vkuznet/kpass/actions/workflows/go.yml/badge.svg)](https://github.com/vkuznet/kpass/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/vkuznet/kpass)](https://goreportcard.com/report/github.com/vkuznet/kpass)
[![GoDoc](https://godoc.org/github.com/vkuznet/kpass?status.svg)](https://godoc.org/github.com/vkuznet/kpass)The `kpass` CLI tool is designed to work with your favorite [KeePass](https://keepass.info/)
database using terminal only. It supports all major architecures, including
Linux, Windows, and macOS. It can work with kdbx and key files. It allows
to search for your records using matchign string or regular expressions,
as well as create and delete records in your KeePass database. Below you can
find a few examples which demonstrate its functionality.```
# start kpass tool with your favorite DB
./kpass -kdbx TestDB.kdbxdb password:
Database : /Users/vk/TestDB.kdbx
Size : 1605 (1.6KB)
Modification time : 2023-01-22 08:40:44.312638212 -0500 ESTCommands within DB
cp # to copy record ID attribute to cpilboard
rm # to remove record ID from database
add # to add specific record key
save record # to save record in DB and write new DB file
timeout # set timeout interval in seconds
Welcome to Root (1 records)db #
```
Now, you can search for your records, e.g.
```
db # GMaildb #
---
Record 1
Title GMail
UserName [email protected]
URL https://goolge.com/
Notes some note about GMail account
Tags email
```
or, you may create a new record
```
db # add login
login value: TestLogindb # add password
set encrypted input for password field
password value:
repeat password:db # save record
2023/01/25 15:51:35 Wrote kdbx file: /Users/vk/TestDB.kdbx-new
```