Clearly document decrypted entry format

This commit is contained in:
2025-07-19 14:33:05 -04:00
parent d023058630
commit cc58d3509f
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -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
+12
View File
@@ -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
```