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
+43-12
Original file line number
Diff line number
Diff line change
@@ -11,30 +11,30 @@ CLIK provides you with a command line interface that allows you to store your AP
11
11
You are provided with an option to either store this key locally in a file, or making a note of it to store it anyway you like.
12
12
The encrypted JSON file can safely be uploaded to VCS repositories, meaning access will only be granted to those who have been given the JSON decryption key by you.
13
13
You can use the CLIK to also add, remove or modify keys, as and when required.
14
-
## Built With:
14
+
## Built With
15
15
| Software | Version |
16
16
|----------|---------|
17
17
| Python 3 | 3.7.1 |
18
18
| Visual Studio Code| 1.50.1|
19
19
20
-
## Tested With:
20
+
## Tested With
21
21
| Operating System | Version(s) |
22
22
|----------|-------------|
23
23
| Microsoft Windows | Windows 10 |
24
24
| Apple macOS | 10.15(Catalina), Beta 11.0(Big Sur) |
25
25
26
-
## Installation:
26
+
## Installation
27
27
You can either clone this repository or install it via pip
28
28
```python
29
29
pip install clik
30
30
```
31
31
32
-
## Usage:
32
+
## Usage
33
33
Once you install CLIK, a short and concise documentation can be found br running the following command on your console:
34
34
```python
35
35
clik
36
36
```
37
-
## Initialising the JSON File:
37
+
## Initialising the JSON File
38
38
To create a new file to store keys type the following command in your console:
39
39
```python
40
40
clik init
@@ -43,30 +43,61 @@ Now, you can specify all the keys you want to add in a step by step fashion.
43
43
CLIK will automatically encrypt the file for you and generate your encryption key.
44
44
Now you can either store the key locally or write it down for safekeeping.
45
45
So now, your JSON file containing all your keys is ready for upload on your repository.
46
-
## Adding/Subtracting Keys:
46
+
## Adding/Subtracting Keys
47
47
To add new keys to an existing JSON file, type the following command in your console:
48
48
<br>
49
-
### For Adding Keys:
49
+
### For Adding Keys
50
50
```python
51
51
clik FILENAME add
52
52
```
53
53
54
-
### For Subtracting Keys:
54
+
### For Subtracting Keys
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
+
> 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