Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cdci:labs:5 [2020/03/15 23:17]
mihai.chiroiu [08. [10p] Digital signing]
cdci:labs:5 [2021/04/16 16:15] (current)
mihai.chiroiu
Line 1: Line 1:
 ====== Lab05. Practical cryptography ​ ====== ====== Lab05. Practical cryptography ​ ======
 +
 +<note warning>
 +Important read to be graded!
 +{{page>:​cdci:​rec&​nofooter&​noeditbutton&​noheader}}
 +</​note>​
  
 ===== Objectives ===== ===== Objectives =====
Line 21: Line 26:
 # (c) Mihai Chiroiu - CDCI # (c) Mihai Chiroiu - CDCI
  
-git clone -b labs --single-branch ​https://​github.com/​mihai-chiroiu/​cdci.git +git clone https://​github.com/​mihai-chiroiu/​cdci.git
-git config user.email "​student@upb.ro"​+
 </​code>​ </​code>​
  
Line 61: Line 65:
     - http://​releases.mozilla.org/​pub/​firefox/​releases/​65.0b9/​win64/​en-US/ ​     - http://​releases.mozilla.org/​pub/​firefox/​releases/​65.0b9/​win64/​en-US/ ​
     - http://​releases.mozilla.org/​pub/​firefox/​releases/​65.0b9/​SHA256SUMS     - http://​releases.mozilla.org/​pub/​firefox/​releases/​65.0b9/​SHA256SUMS
- 
-<​solution>​ 
-<​code>​ 
  
 <​solution>​ <​solution>​
Line 217: Line 218:
 root@h1:/# openssl verify -verbose www.google.pem ​                 root@h1:/# openssl verify -verbose www.google.pem ​                
 www.google.pem:​ OK www.google.pem:​ OK
 +
 +# if we use the first certificate
 +root@h1:/# openssl verify -verbose www.google.pem ​
 +C = US, ST = California, L = Mountain View, O = Google LLC, CN = www.google.com
 +error 20 at 0 depth lookup: unable to get local issuer certificate
 +error www.google.pem:​ verification failed
  
 </​code>​ </​code>​
 </​solution>​ </​solution>​
  
cdci/labs/5.1584307036.txt.gz · Last modified: 2020/03/15 23:17 by mihai.chiroiu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0