Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c8c873e73 | ||
|
|
692f65b7f0 | ||
|
|
1c4200a73a | ||
|
|
1c9e2ee527 | ||
|
|
8401e14ae0 | ||
|
|
0dbd81d1cc | ||
|
|
f979789c11 | ||
|
|
498d7d31c4 | ||
|
|
e58f05619e | ||
|
|
992b9349b3 | ||
|
|
1f4a1fb90f | ||
|
|
c7fae1ad1d | ||
|
|
37bcb6a6d2 | ||
|
|
9ded0aed44 | ||
|
|
4442837ce8 | ||
|
|
31ee220558 | ||
|
|
0a25c13b65 | ||
|
|
fd9d87c548 | ||
|
|
c1aa29cd73 | ||
|
|
75e52d48dc | ||
|
|
28947a53a3 | ||
|
|
5a611a9dc0 | ||
|
|
aff8bea0a2 | ||
|
|
864c0356da | ||
|
|
35175790e2 | ||
|
|
04ea4fb848 | ||
|
|
5c61ba7ea8 | ||
|
|
a45b304d22 | ||
|
|
403d013224 | ||
|
|
82533d96e4 | ||
|
|
5b619384a1 | ||
|
|
12b9884572 | ||
|
|
83b60b5cc2 | ||
|
|
2d6546ab83 | ||
|
|
c255185084 | ||
|
|
24800d69d5 | ||
|
|
7e50727163 | ||
|
|
f118c23c60 | ||
|
|
b149175f24 | ||
|
|
206e8042d8 | ||
|
|
2a5249d93c | ||
|
|
0e02eaee53 | ||
|
|
e32eb8b2b1 | ||
|
|
0aecae0c5e | ||
|
|
fa90e0eafd | ||
|
|
2a10d974b2 | ||
|
|
7e04896394 |
@@ -1,4 +1,7 @@
|
||||
|
||||
When building, use build.sh, not make.
|
||||
|
||||
Use it as follows: build.sh -m "useful comment on changes being made"
|
||||
Use it as follows: build.sh -m "useful comment on changes being made"
|
||||
|
||||
When making TUI menus, try to use the first leter of the command and the key to press to execute that command. For example, if the command is "Open file" try to use a keypress of "o" upper or lower case to signal to open the file. Use this instead of number keyed menus when possible. In the command, the letter should be underlined that signifies the command.
|
||||
|
||||
|
||||
@@ -164,11 +164,9 @@ Offset | Size | Field | Description
|
||||
4 | 2 | Version | Format version (currently 1)
|
||||
6 | 32 | Pad Checksum | Binary pad checksum (32 bytes)
|
||||
38 | 8 | Pad Offset | Offset in pad file (uint64_t)
|
||||
46 | 2 | Filename Length | Original filename length (uint16_t)
|
||||
48 | var | Original Filename | Original filename string
|
||||
var | 4 | File Mode | Original file permissions (uint32_t)
|
||||
var | 8 | File Size | Original file size (uint64_t)
|
||||
var | var | Encrypted Data | XOR-encrypted file contents
|
||||
46 | 4 | File Mode | Original file permissions (uint32_t)
|
||||
50 | 8 | File Size | Original file size (uint64_t)
|
||||
58 | var | Encrypted Data | XOR-encrypted file contents
|
||||
```
|
||||
|
||||
### .otp.asc File Format (ASCII Armored)
|
||||
@@ -185,7 +183,7 @@ Pad-Offset: <decimal-offset-value>
|
||||
-----END OTP MESSAGE-----
|
||||
```
|
||||
|
||||
**Note:** ASCII armored files lose original filename and permission metadata.
|
||||
**Note:** ASCII armored files do not preserve original file permissions metadata.
|
||||
|
||||
## Usage Examples
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Test file content for decryption
|
||||
@@ -0,0 +1 @@
|
||||
Hello, this is a test file for encryption!
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Test file content for decryption
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
Hello, this is a test file for encryption!
|
||||
@@ -0,0 +1,7 @@
|
||||
-----BEGIN OTP MESSAGE-----
|
||||
Version: v0.2.29
|
||||
Pad-ChkSum: d0d4a489354348b08d8c7b324814d8c50010042e9da47f2c973f32a16a09101b
|
||||
Pad-Offset: 57
|
||||
|
||||
05S8GfS0tFfczNMUz0xrieFGoPSREM4uo5QhFGoBCcOzjfTXTDMt3hRtAQ==
|
||||
-----END OTP MESSAGE-----
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
This is a test file for encryption.
|
||||
Executable
+8898
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
}
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
This is a test file for OTP encryption.
|
||||
@@ -1,7 +0,0 @@
|
||||
-----BEGIN OTP MESSAGE-----
|
||||
Version: v0.2.15
|
||||
Pad-ChkSum: 0c8e19fde996e683fdbd348d1052eec168ffe6f67a88bb1278d0d02e9341b87b
|
||||
Pad-Offset: 210
|
||||
|
||||
mMIm7iVtUO6NbXbskMxtydI/A16UXEQUGTcIya/8Dja6PB3EC0MLdw==
|
||||
-----END OTP MESSAGE-----
|
||||
@@ -0,0 +1 @@
|
||||
Testing updated files directory functionality
|
||||
@@ -0,0 +1 @@
|
||||
Testing files directory functionality
|
||||
Binary file not shown.
Reference in New Issue
Block a user