mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-27 20:36:29 -04:00
Clearly document decrypted entry format
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
module github.com/rwinkhart/libmutton
|
module github.com/rwinkhart/libmutton
|
||||||
|
|
||||||
go 1.24.4
|
go 1.24.5
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/pkg/sftp v1.13.9
|
github.com/pkg/sftp v1.13.9
|
||||||
|
|||||||
@@ -46,3 +46,15 @@ If creating a third-party client that requires extra configuration to be stored,
|
|||||||
configKey = <value>
|
configKey = <value>
|
||||||
```
|
```
|
||||||
This ensures that a user can use multiple client applications with the same configuration while avoiding conflicts.
|
This ensures that a user can use multiple client applications with the same configuration while avoiding conflicts.
|
||||||
|
|
||||||
|
## Entry Format
|
||||||
|
A decrypted libmutton entry is a plaintext file where each line indicates a new field in the entry.
|
||||||
|
|
||||||
|
These fields are as follows:
|
||||||
|
```
|
||||||
|
0/first line: password
|
||||||
|
1/second line: username
|
||||||
|
2/third line: TOTP secret
|
||||||
|
3/fourth line: URL
|
||||||
|
4+/fifth line+: notes
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user