Task 1 Create Google Private Key
Download drive-download-20180207T222536Z-001.zip and extract to drive C:\CS-1630\20180208
and it should look like this
and there are 2 PEM file in drive-download-20180207T222536Z-001\
...
C:\Users\Richard Cheng>cd c:\
c:\>cd "Program Files (x86)"
c:\Program Files (x86)>cd GnuWin32
c:\Program Files (x86)\GnuWin32>cd bin
c:\Program Files (x86)\GnuWin32\bin>openssl.exe ec -noout -text -in "c:\CS-1630\20180208\drive-download-20180207T222536Z-001\PRIVATE.key.pem"
There are 2 part in this private key, and we need to load priv part to reader,
RSA Private Key:
...
RSA Public Key:
...
RSA Exp:
...
Long term private key
...
Padding “00” + Version(ex. 00 00 00 01) + Long term private key to 256 bytes data
...
Calculate SHA-256 for data
...
Append encrypt data and sha-256 data
...
IDG Command
...
Task 2 Create Pronto Private Key
Download pronto.key.zip and extract to drive C:\CS-1630\20180208
and it should look like this
and there are 2 PEM file in pronto.key\
open command line tool, and change path
C:\Users\Richard Cheng>cd c:\
c:\>cd "Program Files (x86)"
c:\Program Files (x86)>cd GnuWin32
c:\Program Files (x86)\GnuWin32>cd bin
c:\Program Files (x86)\GnuWin32\bin>openssl.exe ec -noout -text -in "c:\CS-1630\20180208\pronto.key\pronto-PRIVATE.key.pem"
There are 2 part in this private key, and we need to load priv part to reader,
RSA Private Key:
...
RSA Public Key:
...
RSA Exp:
...
Long term private key
...
Calculate SHA-256 for data
...
...
Append encrypt data and sha-256 data
...
IDG Command
...