.upper() for the mrz2 in used in bac
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@242 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
parent
2a0caea3c7
commit
9d25ab83d2
|
@ -129,6 +129,7 @@ class Passport_Application(Application):
|
|||
|
||||
def cmd_perform_bac(self, mrz2, verbose=1):
|
||||
"Perform the Basic Acess Control authentication and establishment of session keys"
|
||||
mrz2 = mrz2.upper()
|
||||
Kseed = self.derive_seed(mrz2, verbose)
|
||||
Kenc = self.derive_key(Kseed, 1)
|
||||
Kmac = self.derive_key(Kseed, 2)
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
0:006404150102009000ee,P:6700,1,569AAA9A
|
||||
Electronic Passport Specimen, issued by Bundesdruckerei, Germany
|
||||
# ATS: 0e 78 33 c4 02 00 64 04 15 01 02 00 90 00
|
||||
|
||||
0:[^,]*,P:6700,1,5AAAAAAA,08
|
||||
German Passport
|
||||
|
|
Loading…
Reference in New Issue