Step 1: Open QR code scanner to scan the info required to send the data to the receiver.
Step 2: Create QR code to send the information to the receiver.
Instructions of Step 1:
Receiver shares his
Public Key
Digital Signature
Creation Date
Expiration Date
This information is saved in a json format and serialized in using JSON.stringify() function then converted to a qr code and sent for scanning by the sender.
Sender then scans this information using the step 1 where he opens the camera and scans the qr code shared by the sender. The information is then deserialized and converted to JSON object using JSON.parse().
Then the following steps are to be followed:
1.1 Parse the public key
1.2 Verify creation date, time and expiration date, time with respect to current date, time
1.3 Verify the digital signature with the public key of the auth server
If at any point there is an error may it be parsing error or failed creation date time and expiration date time not adhering to current date time or failed digital signature verification, the receiver is deemed untrusted and the information is no further exchanged as per the protocol.
Instructions of Step 2:
Sender shares his
Public Key
Digital Signature
Creation Date
Expiration Date
Aadhar Information
In Step 2 the following steps are to be followed:
2.1 Save the above information in a json format and then serialized it using JSON.stringify() function.
2.2 Encrypt the information requested using the public key of the receiver.
2.3 Convert the encrypted information to a QR code and display it on the screen
This QR code is scanned by the receiver and the information exchange is complete from the sender's end.
Note:
There are further scope of improvement by exchange of more information by the receiver.
There is a chance that the information required to be sent in the step 2 is too large to be sent in the form of a QR code so it might have to be broken into 2 sub steps in which during each sub step the half of the serialized data is to be sent.
Here is the Idea of the protocol you guys can go though it.
I guess the same text can be used for the project report too.
@agarwalsahil0210 @RiturajGupta21 @SumanMore
Create A Send Data Wizard
Wizard of sending data consists of 2 steps
Instructions of Step 1: Receiver shares his
Sender then scans this information using the step 1 where he opens the camera and scans the qr code shared by the sender. The information is then deserialized and converted to JSON object using JSON.parse(). Then the following steps are to be followed:
Instructions of Step 2: Sender shares his
In Step 2 the following steps are to be followed:
This QR code is scanned by the receiver and the information exchange is complete from the sender's end.
Note: