cheatsheets/pass.md

61 lines
729 B
Markdown
Raw Permalink Normal View History

2014-06-14 02:26:51 +00:00
---
title: Pass
2017-08-28 20:03:33 +00:00
category: CLI
2014-06-14 02:26:51 +00:00
---
2017-08-28 17:25:55 +00:00
Reference
---------
2018-03-04 21:21:50 +00:00
### Create
2014-06-14 02:26:51 +00:00
```sh
2018-03-06 07:32:05 +00:00
$ pass init [-p] <gpg-id>
$ pass git init
$ pass git remote add origin <your.git:repository>
$ pass git push -u --all
```
2018-03-04 21:21:50 +00:00
### Store
```sh
2018-03-06 07:32:05 +00:00
$ pass insert [-m] twitter.com/rsc
$ pass generate [-n] twitter.com/rsc length
```
2018-03-04 21:21:50 +00:00
2018-06-14 15:48:42 +00:00
### Retrieve
2018-03-04 21:21:50 +00:00
```sh
2018-03-06 07:32:05 +00:00
$ pass ls twitter.com/
$ pass show twitter.com/rsc
2018-12-25 16:38:58 +00:00
$ pass -c twitter.com/rsc
2018-03-06 07:32:05 +00:00
```
2014-06-14 02:26:51 +00:00
### Search
```sh
2018-03-06 07:32:05 +00:00
$ pass find twitter.com
```
2014-06-14 02:26:51 +00:00
### Management
```sh
2018-03-06 07:32:05 +00:00
$ pass mv twitter.com twitter.com/rsc
$ pass rm [-rf] twitter.com
$ pass cp twitter.com/rsc twitter.com/ricosc
```
2014-06-14 02:26:51 +00:00
```sh
2018-03-06 07:32:05 +00:00
$ pass edit twitter.com/rsc
```
2014-06-14 02:26:51 +00:00
2018-03-04 21:21:50 +00:00
### Synchronize
```sh
2018-03-06 07:32:05 +00:00
$ pass git push
$ pass git pull
```
2018-03-04 21:21:50 +00:00
2017-08-28 17:25:55 +00:00
## References
2014-06-14 02:26:51 +00:00
* <https://passwordstore.org>