You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-1Lines changed: 33 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,15 +55,47 @@ clik FILENAME add
55
55
```python
56
56
clik FILENAME subtract
57
57
```
58
-
## Modify Keys:
58
+
## For Modifying Keys:
59
59
To modify any key in an existing JSON file, type the following command in your console:
60
60
```python
61
61
clik FILENAME modify
62
62
```
63
+
## For Encrypting the Keys File:
64
+
To encrypt the JSON file, type the following command in your console:
65
+
```python
66
+
clik FILENAME enc
67
+
```
68
+
This will ask for any existing Keys to encrypt the JSON file with. If you have an existing Key,
69
+
continue. Else, you can specify/create a new key for this new encryption.
70
+
71
+
## For Decrypting the Keys File:
72
+
To decrypt the JSON file, type the following command in your console:
73
+
```python
74
+
clik FILENAME dec
75
+
```
76
+
This will ask for any existing Keys to decrypt the JSON file with. If you have an existing Key,
77
+
continue normally. Else, provide a path for the Key to be used for decryption.
78
+
79
+
### Note: For any kind of operation on an encrypted JSON file, you need to decrypt it first.
80
+
81
+
## Help:
82
+
To check the syntax for any of the commands or their function, type the following command in your console:
83
+
```python
84
+
clik --help
85
+
```
86
+
87
+
## Version
88
+
To check the version of CLIK you're running, type the following command in your console:
89
+
```python
90
+
clik --version
91
+
```
92
+
93
+
### Note: Before uploading the JSON file containing your Keys to any VCS, it is recommended to store your .key file containing your Key to decrypt this encrypted JSON file in .gitignore of any other directory of your computer.
0 commit comments