passwordstore

Check-in [de07bf605d]
Login

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

Overview
Comment:Update README.md after fossil migration
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: de07bf605d4e546983ceff646b9d6a6869c9318019d12d04f33d0436160ce5b5
User & Date: jef 2018-06-12 18:27:36
Context
2018-06-12
20:25
Update import pragma after migration to fossil Leaf check-in: e1e64ae16b user: jef tags: trunk
18:27
Update README.md after fossil migration check-in: de07bf605d user: jef tags: trunk
2015-11-23
18:34
Update passwordstore.go check-in: 8e73ac091a user: jef@foutaise.org tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to 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

Go library for password store (pass / 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")
```


|



<
|
<



<
|
|
<



<
|
|
<



<
|
|
<



<
|
|
<



<
|
|
<



<
|
|
<



<
|
|
<
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

# passwordstore

Go library for password store ([pass](http://www.passwordstore.org/))

## Usage


	import "github.com/foutaise/passwordstore"


### Get a password


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


### Insert a password


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


### Generate a password


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


### Delete an entry


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


### Move an entry


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


### Copy an entry


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


### Copy a password to clipboard


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