50 lines
929 B
Markdown
50 lines
929 B
Markdown
# [PassBatchInsert](https://gitea.dubtempo.com/DT/PassBatchInsert)
|
|
|
|
This script is used to batch import passwords from a json file into the password management program: password-store, aka "pass".
|
|
|
|
<br \>
|
|
|
|
## Requirements
|
|
|
|
Make sure all dependencies have been installed before using this script:
|
|
* [Password Store](https://www.passwordstore.org/) >= 1.7.4 -- prior untested
|
|
|
|
<br \>
|
|
|
|
## Project Installation
|
|
|
|
Install this project via git pull:
|
|
|
|
```shell
|
|
# from your new project parent dir
|
|
$ git clone https://gitea.dubtempo.com/DT/PassBatchInsert.git
|
|
```
|
|
|
|
Make sure the script file is executable.
|
|
|
|
## Password Details Model
|
|
|
|
```json
|
|
[
|
|
{
|
|
filename:'',
|
|
password:'',
|
|
url:'',
|
|
user:''
|
|
}
|
|
]
|
|
```
|
|
|
|
<br \>
|
|
|
|
## Project Usage
|
|
|
|
To use this codebase, complete the following steps.
|
|
|
|
1. Add your passwords to the PassBatchInser.json file following the model.
|
|
|
|
1. Run the script using the following command:
|
|
|
|
```shell
|
|
$ PassBatchInsert.sh
|
|
``` |