https://github.com/pedroalbanese/gostkp
Parallel implementation of the kpcli utility in Go with Kuznechik, Magma and Streebog algorithms
https://github.com/pedroalbanese/gostkp
go golang keepass kuznechik kuznyechik magma streebog
Last synced: 3 months ago
JSON representation
Parallel implementation of the kpcli utility in Go with Kuznechik, Magma and Streebog algorithms
- Host: GitHub
- URL: https://github.com/pedroalbanese/gostkp
- Owner: pedroalbanese
- License: isc
- Created: 2022-03-22T19:12:12.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T21:55:38.000Z (about 3 years ago)
- Last Synced: 2025-01-04T21:18:53.509Z (5 months ago)
- Topics: go, golang, keepass, kuznechik, kuznyechik, magma, streebog
- Language: Go
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GOST KeePassCLI
[](https://github.com/pedroalbanese/gostkp/blob/master/LICENSE.md)
[](https://github.com/pedroalbanese/gostkp/releases)
[](http://godoc.org/github.com/pedroalbanese/gostkp)
[](https://goreportcard.com/report/github.com/pedroalbanese/gostkp)
[](https://golang.org)
[](https://github.com/pedroalbanese/gostkp/releases)This project is a clone of [kpcli](http://kpcli.sourceforge.net/) with a few additional features thrown in. It provides a shell-like interface for navigating a KeePass-like database and manipulating entries.
Features, such as `search` have been added.
Roll of Algorithms:
- GOST R 34.11-2012 Стрибог (Streebog) hash function (RFC 6986)
- GOST R 34.12-2015 128-bit block cipher Кузнечик (Kuznechik) (RFC 7801)
- GOST R 34.12-2015 64-bit block cipher Магма (Magma)## Usage
### Command-line
```
> ./kp -help
Usage of ./kp:
-db string
the db to open
-key string
a key file to use to unlock the db
-n string
execute a given command and exit
-version
print version and exit
```### Program Shell
```
/ > helpCommands:
attach attach
cd cd
clear clear the screen
edit edit
exit exit the program
help display help
ls ls [path]
mkdir mkdir
mv mv
new new
pwd pwd
rm rm
save save
saveas saveas
search search
show show [-f]
version version
xk xk
xp xp
xu xu
xw xw
xx xx
```
Running a command with the argument `help` will display a more detailed usage message
```
/ > attach helpmanages the attachment for a given entry
Commands:
create attach create
details attach details
get attach get // ('-' for stdout)
```## Overview
There are two main components, the shell and the libraries that interact with the database directly. The shell interfaces with the database through those abstractions. The shell works by having individual files for each command which are strung together in `main.go`.## License
This project is licensed under the ISC License.
#### Copyright (c) 2020-2022 Pedro F. Albanese - ALBANESE Research Lab.