blob: 9287e72769435604abcb5078432a72dd503acdfc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Installation:
```bash
git clone https://gitlab.com/a14m/dotpassword.git ~/.password-store
username: a14m
password: yQUE94npCAwwawwdmmUV
git remote remove origin
git remote add origin [email protected]:a14m/dotpassword.git
```
password created at [gitlab](https://gitlab.com/profile/personal_access_tokens) with `read_repository` permissions
## OTP extension
### Installation
```bash
brew install oath-toolkit
git clone https://github.com/tadfisher/pass-otp ~/pass-otp
cd ~/pass-otp
make install PREFIX=/usr/local
sudo rm -r ~/pass-otp
```
### Usage
```bash
pass otp Personal/reddit
```
----
## Mobile Setup
[Install the pass app from the app store ](https://mssun.github.io/passforios/)
Configure the app settings as follow:
+ General
* Remember PGP Key Passphrase (ON)
* Remember Git Credential Passphrase (ON)
* Show Folders (ON)
* Hide OTP Fields (ON)
+ Pssword Repository
* Setup SSH Key
- Copy `gitlab` ssh key to `ssh_key` and sync it using iTunes.
* Git URL: `ssh://[email protected]/a14m/dotpassword.git`
* Username: `git`
* Authentication Method: SSH Key (iTunes File Sharing).
+ PGP Key
* KeyID used: `2CF2EA87383917C2D8BF249E1281ACE247C81419`
* Copy the public and private (secret) keys to `gpg_key.pub`, `gpg_key` and sync it using iTunes.
* Import using iTunes File Sharing.
|