Skip to content

Commit c5f90de

Browse files
authored
Merge pull request #39 from arizsiddiqui/master
Update Readme.md
2 parents f6c14d0 + 78f32f0 commit c5f90de

File tree

1 file changed

+43
-12
lines changed

1 file changed

+43
-12
lines changed

Diff for: README.md

+43-12
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@ CLIK provides you with a command line interface that allows you to store your AP
1111
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.
1212
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.
1313
You can use the CLIK to also add, remove or modify keys, as and when required.
14-
## Built With:
14+
## Built With
1515
| Software | Version |
1616
|----------|---------|
1717
| Python 3 | 3.7.1 |
1818
| Visual Studio Code| 1.50.1|
1919

20-
## Tested With:
20+
## Tested With
2121
| Operating System | Version(s) |
2222
|----------|-------------|
2323
| Microsoft Windows | Windows 10 |
2424
| Apple macOS | 10.15(Catalina), Beta 11.0(Big Sur) |
2525

26-
## Installation:
26+
## Installation
2727
You can either clone this repository or install it via pip
2828
```python
2929
pip install clik
3030
```
3131

32-
## Usage:
32+
## Usage
3333
Once you install CLIK, a short and concise documentation can be found br running the following command on your console:
3434
```python
3535
clik
3636
```
37-
## Initialising the JSON File:
37+
## Initialising the JSON File
3838
To create a new file to store keys type the following command in your console:
3939
```python
4040
clik init
@@ -43,30 +43,61 @@ Now, you can specify all the keys you want to add in a step by step fashion.
4343
CLIK will automatically encrypt the file for you and generate your encryption key.
4444
Now you can either store the key locally or write it down for safekeeping.
4545
So now, your JSON file containing all your keys is ready for upload on your repository.
46-
## Adding/Subtracting Keys:
46+
## Adding/Subtracting Keys
4747
To add new keys to an existing JSON file, type the following command in your console:
4848
<br>
49-
### For Adding Keys:
49+
### For Adding Keys
5050
```python
5151
clik FILENAME add
5252
```
5353

54-
### For Subtracting Keys:
54+
### For Subtracting Keys
5555
```python
5656
clik FILENAME subtract
5757
```
58-
## Modify Keys:
58+
## For Modifying Keys
5959
To modify any key in an existing JSON file, type the following command in your console:
6060
```python
6161
clik FILENAME modify
6262
```
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.
6393
64-
## Dependancies:
94+
## Dependancies
6595
* [printy](https://github.com/edraobdu/printy)
6696
* [Python 3](https://python.org/)
97+
* [cryptography](https://github.com/pyca/cryptography)
6798

68-
## Contributors:
99+
## Contributors
69100
* [Mihir Singh](https://github.com/mihirs16)
70101
* [Anushka Agarwal](https://github.com/anushka17agarwal)
71102
* [Kushagra Gupta](https://github.com/KG-1510)
72-
* [Ariz Siddiqui](https://github.com/arizsiddiqui)
103+
* [Ariz Siddiqui](https://github.com/arizsiddiqui)

0 commit comments

Comments
 (0)