-
Notifications
You must be signed in to change notification settings - Fork 2
/
incorrect PIN.txt
63 lines (61 loc) · 16.6 KB
/
incorrect PIN.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Emerald Password Manager for Smartcards
__
(`/\
`=\/\ __...--~~~~~-._ _.-~~~~~--...__
`=\/\ \ / \\
`=\/ V \\
//_\___--~~~~~~-._ | _.-~~~~~~--...__\\
// ) (..----~~~~._\ | /_.~~~~----.....__\\
===( )==========\\|//====================
\___/ `---`
PC : Selected communication with EmeraldApplet in a simulator.
PC : Simulated applet was installed with PIN `1 2 3 4`.
PC ... SC: Established connection to smartcard.
PC : Enter 4 digit PIN.
ABCD
PC : PIN must be 4 digits.
PC : Enter 4 digit PIN.
4567
PC : Using PIN `[4, 5, 6, 7]`
##################################################
Begin: demo plaintext
PC --> SC: Sending example plaintext message to card.
--> 0100000000
--> [0100000000] 5
<-- 00010203040506070809 9000 (10)
<-- 00010203040506070809 9000 (10) [0 ms]
PC <== SC: Received response:[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
End: demo plaintext
##################################################
PC <-> SC: Key agreement started.
--> AA0100000001D708434F4D5055544552410470EAFA9CE0757D17C452FED0F96E5D1DBF31359B21687B5CB6630EB62E64928702F1D694875D252D034FFCAA51C4EFD77944223449395528A36A39F4E352B3E94104278F8231DCF537D50CD963D3A8A177B888951231AAAF840D9EB4F6CB3FB6E80D716C1E342945B5E93D0DA5C2AAECC28401E1834A154F6B7BCDFD5114D33C725D410470EAFA9CE0757D17C452FED0F96E5D1DBF31359B21687B5CB6630EB62E64928702F1D694875D252D034FFCAA51C4EFD77944223449395528A36A39F4E352B3E941042DFAC38D7FBC22A8856B937C33E5CC6535AD41191FB0C5222293ADC3F3BD76675D9D92ADFDBE79CA5B19FF9ABB6C74D110434A5BC13D1156B1F5ADDF2BE909AD20F784A44BE5AE7205F7ABE8198815BA22DB799F735C1A4EDE325B26B23BA9F6C54104278F8231DCF537D50CD963D3A8A177B888951231AAAF840D9EB4F6CB3FB6E80D716C1E342945B5E93D0DA5C2AAECC28401E1834A154F6B7BCDFD5114D33C725D41041D7E8A0CFBE53D5742730CD34164C3D0B0D734D40A011DCF53FFE4F409B1AEA626DB71250E1C4193CA15F338FCCF129A90A027B8C1C5112113AD4B15CC512C822000A679BADBCC84E1D09CEAB1C963B7CBB177C3DADDAB88B81D4D4339CD8C9502
--> [AA0100000001D708434F4D5055544552410470EAFA9CE0757D17C452FED0F96E5D1DBF31359B21687B5CB6630EB62E64928702F1D694875D252D034FFCAA51C4EFD77944223449395528A36A39F4E352B3E94104278F8231DCF537D50CD963D3A8A177B888951231AAAF840D9EB4F6CB3FB6E80D716C1E342945B5E93D0DA5C2AAECC28401E1834A154F6B7BCDFD5114D33C725D410470EAFA9CE0757D17C452FED0F96E5D1DBF31359B21687B5CB6630EB62E64928702F1D694875D252D034FFCAA51C4EFD77944223449395528A36A39F4E352B3E941042DFAC38D7FBC22A8856B937C33E5CC6535AD41191FB0C5222293ADC3F3BD76675D9D92ADFDBE79CA5B19FF9ABB6C74D110434A5BC13D1156B1F5ADDF2BE909AD20F784A44BE5AE7205F7ABE8198815BA22DB799F735C1A4EDE325B26B23BA9F6C54104278F8231DCF537D50CD963D3A8A177B888951231AAAF840D9EB4F6CB3FB6E80D716C1E342945B5E93D0DA5C2AAECC28401E1834A154F6B7BCDFD5114D33C725D41041D7E8A0CFBE53D5742730CD34164C3D0B0D734D40A011DCF53FFE4F409B1AEA626DB71250E1C4193CA15F338FCCF129A90A027B8C1C5112113AD4B15CC512C822000A679BADBCC84E1D09CEAB1C963B7CBB177C3DADDAB88B81D4D4339CD8C9502] 478
<-- 04434152444104255836DEADF200A7F7A77786AD5E641C1E957C1599E93806198217C585269B397F7A264A6DA690593553AF7F4C643680B1C64CAA699247757A227C7379C442714104564D96F0D9FE6D75AEC2A74F65D6C22E55C60D39F8D0CF45CE43F7C52B28960A0F8D102E34E57C5C7C06460120BB7CD41CBE3AD0AA14470F0395039A8AAE59DF4104041FFFFB6F77B233D37036327D6373F3FC5671ADFF818B522357C66D127E42E45D4300D11A6F503097C1132624A3300FCCB3FB9BC5AA2012EF89EE767A860AD84104255836DEADF200A7F7A77786AD5E641C1E957C1599E93806198217C585269B397F7A264A6DA690593553AF7F4C643680B1C64CAA699247757A227C7379C442714104362A160238FA438DDCCEE0E320E33E82C930FC60724FD4F84430B2144A363E7157B6C711A5B00F4101FA063366CD82DFCBDF48875AC34DE6E5F98C9DCF85C42E20014C74FEBBF82EDD79076F854FB22BFE8444BCF6E8B8ADB4E4F220C924A9FD214104564D96F0D9FE6D75AEC2A74F65D6C22E55C60D39F8D0CF45CE43F7C52B28960A0F8D102E34E57C5C7C06460120BB7CD41CBE3AD0AA14470F0395039A8AAE59DF410442418C09D4DC879261B603136D3A98902AA5AD3C65225229CC16BD4CE685B7C27A54C326A1BFED01DF969DECD19E76857963AF828478DFD402069248A15414AF2004A87E62F186E8A106DEFE1F18719F9A14EC4D7C4A286AFE6F3DFF06F91524B241040325D9A522A77304DAE8CB73105DC4DADD1402752B43877BE0A56DEEDB58E58026AEAA5BB795BB88DD280C615A5DA03F3E5077C398F988F554D5AA348392A4D941041312A4F7560DBC4F3473A5C7AF1F5FC7C1A34D6472469FCEFF86F6A1A44A989C3DD5FDFD4000BC6322749F052B169384531F90B0A2AF1EAD07E9E8FEBF21956520F63C66E790ADCDB883C4B0D767B7E5AA7781AE879B7F8E99CB325FC6202EBB92 9000 (698)
<-- 04434152444104255836DEADF200A7F7A77786AD5E641C1E957C1599E93806198217C585269B397F7A264A6DA690593553AF7F4C643680B1C64CAA699247757A227C7379C442714104564D96F0D9FE6D75AEC2A74F65D6C22E55C60D39F8D0CF45CE43F7C52B28960A0F8D102E34E57C5C7C06460120BB7CD41CBE3AD0AA14470F0395039A8AAE59DF4104041FFFFB6F77B233D37036327D6373F3FC5671ADFF818B522357C66D127E42E45D4300D11A6F503097C1132624A3300FCCB3FB9BC5AA2012EF89EE767A860AD84104255836DEADF200A7F7A77786AD5E641C1E957C1599E93806198217C585269B397F7A264A6DA690593553AF7F4C643680B1C64CAA699247757A227C7379C442714104362A160238FA438DDCCEE0E320E33E82C930FC60724FD4F84430B2144A363E7157B6C711A5B00F4101FA063366CD82DFCBDF48875AC34DE6E5F98C9DCF85C42E20014C74FEBBF82EDD79076F854FB22BFE8444BCF6E8B8ADB4E4F220C924A9FD214104564D96F0D9FE6D75AEC2A74F65D6C22E55C60D39F8D0CF45CE43F7C52B28960A0F8D102E34E57C5C7C06460120BB7CD41CBE3AD0AA14470F0395039A8AAE59DF410442418C09D4DC879261B603136D3A98902AA5AD3C65225229CC16BD4CE685B7C27A54C326A1BFED01DF969DECD19E76857963AF828478DFD402069248A15414AF2004A87E62F186E8A106DEFE1F18719F9A14EC4D7C4A286AFE6F3DFF06F91524B241040325D9A522A77304DAE8CB73105DC4DADD1402752B43877BE0A56DEEDB58E58026AEAA5BB795BB88DD280C615A5DA03F3E5077C398F988F554D5AA348392A4D941041312A4F7560DBC4F3473A5C7AF1F5FC7C1A34D6472469FCEFF86F6A1A44A989C3DD5FDFD4000BC6322749F052B169384531F90B0A2AF1EAD07E9E8FEBF21956520F63C66E790ADCDB883C4B0D767B7E5AA7781AE879B7F8E99CB325FC6202EBB92 9000 (698) [85 ms]
--> AAEE0000F008434F4D505554455241041350EC85D3B54101D220D53DC5B259A2315326F70598DECE936B35E900B460BC2DD05F2E8BCD7DA6B6C479FB7471591D663FEFD90BDB3BB374FE4F68EEC807E341040EB1B9364E49AC9D2E4DF412D4725C8F241B933285BED33C0DB644388ECC89B97AA09EEEBECB6D658423BA2EA305D67574B2DF932585FE6FE49116E0BE608BAA41046F4544ABD01745CE6D0880D424DB06AB8A3DCAF6FF21F2873696159C7E5CD64462F45CCC6E477A9C8758F064BBCC75616FA703EC8BB321B238FE68BF6D6B540720F5DF1160C00041C4FAF7DB1897E8A59AD124E45DCEF4C24D95E884CF54E794A7
--> [AAEE0000F008434F4D505554455241041350EC85D3B54101D220D53DC5B259A2315326F70598DECE936B35E900B460BC2DD05F2E8BCD7DA6B6C479FB7471591D663FEFD90BDB3BB374FE4F68EEC807E341040EB1B9364E49AC9D2E4DF412D4725C8F241B933285BED33C0DB644388ECC89B97AA09EEEBECB6D658423BA2EA305D67574B2DF932585FE6FE49116E0BE608BAA41046F4544ABD01745CE6D0880D424DB06AB8A3DCAF6FF21F2873696159C7E5CD64462F45CCC6E477A9C8758F064BBCC75616FA703EC8BB321B238FE68BF6D6B540720F5DF1160C00041C4FAF7DB1897E8A59AD124E45DCEF4C24D95E884CF54E794A7] 245
<-- 9000
<-- 9000 [53 ms]
PC : New shared session key established.
PC <-> SC: Key agreement finished successfully.
##################################################
Begin: demo password storage
PC --> SC: Set password `All your` to slot 0.
--> EE000000806C5544797A91115DC3330EBD003851D2C42170D2ED017492FADDBAD1F3618A7642F790504E18DE2B761A4B02443D186D2A6AE702FB0487FB38E2249E68039BF43C7E3B23C84FF5C7A929339167AB55FB66E0094FB2DBEFD4CCEFBEB9B24531021276D2E48D616B13BE0C86ED20295A26A297B9A47ABE9AE4AF00F98E95A59BDF
--> [EE000000806C5544797A91115DC3330EBD003851D2C42170D2ED017492FADDBAD1F3618A7642F790504E18DE2B761A4B02443D186D2A6AE702FB0487FB38E2249E68039BF43C7E3B23C84FF5C7A929339167AB55FB66E0094FB2DBEFD4CCEFBEB9B24531021276D2E48D616B13BE0C86ED20295A26A297B9A47ABE9AE4AF00F98E95A59BDF] 133
<-- 9000
<-- 9000 [15 ms]
Error: Error in communication with the card.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ "IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!" @
@ PIN IS INCORRECT OR THIS SMARTCARD IS MALICIOUS @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Detailed info about this error:
applet.EmeraldProtocolException
at applet.SecureChannelManagerBase.decrypt(SecureChannelManagerBase.java:172)
at emapplication.EmeraldApplicationCli.setPassword(EmeraldApplicationCli.java:197)
at emapplication.EmeraldApplicationCli.demoPasswordStorage(EmeraldApplicationCli.java:296)
at emapplication.EmeraldApplicationCli.run(EmeraldApplicationCli.java:85)
at emapplication.EmeraldApplicationCli.main(EmeraldApplicationCli.java:52)
exit