passwordstore

Check-in [e918e2a37d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Create README.md
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e918e2a37df44230211a1e22f1cc673a5bf62ce3fc45c151ee1d5e7ad325a6ee
User & Date: jef@foutaise.org 2015-11-23 18:33:00
Context
2015-11-23
18:34
Update README.md check-in: 054227b72e user: jef@foutaise.org tags: trunk
18:33
Create README.md check-in: e918e2a37d user: jef@foutaise.org tags: trunk
18:18
initial import check-in: a63f5b3a5f user: jef@foutaise.org tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added README.md.





















































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
55
56
57
58
# passwordstore

Password store (pass) library (http://www.passwordstore.org/)

## Usage

```go
import "github.com/foutaise/passwordstore"
```

### Get a password

```go
// func Get(entry string) (string, error)
pass, err := passwordstore.Get("foutaise.org")
```

### Insert a password

```go
// func Insert(entry, passwd string) error
err := passwordstore.Insert("test", "mypasswd")
```

### Generate a password

```go
// func Generate(entry string, length int) (string, error)
pass, err := passwordstore.Generate("test", 10)
```

### Delete an entry

```go
// func Delete(entry string) error
err := passwordstore.Delete("test")
```

### Move an entry

```go
// Move(entry, newentry string) error
err := passwordstore.Move("test", "test2")
```

### Copy an entry

```go
// func Copy(entry, newentry string) error
err := passwordstore.Copy("test", "test2")
```

### Copy a password to clipboard

```go
// func CopyToClipboard(entry string) error
err := passwordstore.CopyToClipboard("foutaise.org")
```