Skip to content

Instantly share code, notes, and snippets.

@zdavatz
Created November 9, 2018 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdavatz/d644883d2b431301343e8f8a0d7e9baf to your computer and use it in GitHub Desktop.
Save zdavatz/d644883d2b431301343e8f8a0d7e9baf to your computer and use it in GitHub Desktop.
10.13.6
2018-11-09 12:25:43.662254+0100 Scan2Post[947:17802] -[SmartCard observeValueForKeyPath:ofObject:change:context:] keyPath <slotNames>
2018-11-09 12:25:43.662370+0100 Scan2Post[947:17802] (Re)Scanning Slots: (
"Alcor Micro AU9560"
)
2018-11-09 12:25:43.664623+0100 Scan2Post[947:17880] -[SmartCard observeValueForKeyPath:ofObject:change:context:] keyPath <state>
2018-11-09 12:25:43.664834+0100 Scan2Post[947:17880] state: TKSmartCardSlotStateEmpty for <TKSmartCardSlot: 0x0x6040000a1560 'Alcor Micro AU9560'>
2018-11-09 12:25:43.665192+0100 Scan2Post[947:17880] Slot: <TKSmartCardSlot: 0x0x6040000a1560 'Alcor Micro AU9560'>
2018-11-09 12:25:43.665347+0100 Scan2Post[947:17880] name: Alcor Micro AU9560
2018-11-09 12:25:43.665530+0100 Scan2Post[947:17880] state: TKSmartCardSlotStateEmpty
2018-11-09 12:25:43.725626+0100 Scan2Post[947:17802] Defaults file:
/Users/udavatz/Library/Containers/com.ywesee.scan2post/Data/Library/Preferences/com.ywesee.scan2post.plist
2018-11-09 12:26:33.685891+0100 Scan2Post[947:17802] -[PreferencesWindow saveClicked:]
2018-11-09 12:26:33.686009+0100 Scan2Post[947:17802] -[StatusMenuController preferencesDidUpdate], launch at login: 0
2018-11-09 12:27:11.724733+0100 Scan2Post[947:18807] -[SmartCard observeValueForKeyPath:ofObject:change:context:] keyPath <state>
2018-11-09 12:27:11.724869+0100 Scan2Post[947:18807] state: TKSmartCardSlotStateProbing for <TKSmartCardSlot: 0x0x6040000a1560 'Alcor Micro AU9560'>
2018-11-09 12:27:11.911675+0100 Scan2Post[947:18807] -[SmartCard observeValueForKeyPath:ofObject:change:context:] keyPath <state>
2018-11-09 12:27:11.911791+0100 Scan2Post[947:18807] state: TKSmartCardSlotStateValidCard for <TKSmartCardSlot: 0x0x6040000a1560 'Alcor Micro AU9560'>
2018-11-09 12:27:11.912235+0100 Scan2Post[947:18807] atr: <TKSmartCardATR: 0x608000028f60 3b 13-- T=1:--- T=1:8037- T=15:03--;3(f8) 6(4d54434f5370020102) 8(07)>
2018-11-09 12:27:11.912332+0100 Scan2Post[947:18807] atr bytes: <3b9f1381 b180371f 038031f8 694d5443 4f537002 01028107 86>
2018-11-09 12:27:11.912443+0100 Scan2Post[947:18807] Iface for T1: T=1:8037-
2018-11-09 12:27:11.913326+0100 Scan2Post[947:18807] -[SmartCard observeValueForKeyPath:ofObject:change:context:] keyPath <valid>
2018-11-09 12:27:11.913933+0100 Scan2Post[947:18807] Card: <TKSmartCard: 0x6000000c95a0>
2018-11-09 12:27:11.914011+0100 Scan2Post[947:18807] Allowed protocol bitmask: 2
2018-11-09 12:27:11.914072+0100 Scan2Post[947:18807] T1
2018-11-09 12:27:11.918457+0100 Scan2Post[947:18807] Card in slot <Alcor Micro AU9560>
2018-11-09 12:27:11.918586+0100 Scan2Post[947:18807] now in session, selected protocol: 2
2018-11-09 12:27:11.968941+0100 Scan2Post[947:18807] line 103 SELECT_FILE <2f06>, response: <>, SW:0x9000
2018-11-09 12:27:12.508023+0100 Scan2Post[947:18807] line 103 SELECT_FILE <2f07>, response: <>, SW:0x9000
2018-11-09 12:27:12.510251+0100 Scan2Post[947:18807] Card holder ID <7562779064087>
2018-11-09 12:27:12.552698+0100 Scan2Post[947:18807] Issuing State ID Number <CH>
2018-11-09 12:27:12.552771+0100 Scan2Post[947:18807] name Of The Institution <SWICA>
2018-11-09 12:27:12.552817+0100 Scan2Post[947:18807] identificationNumber Of The Institution <01384>
2018-11-09 12:27:12.552861+0100 Scan2Post[947:18807] Insured Person Number <80756013840040755348>
2018-11-09 12:27:12.553476+0100 Scan2Post[947:18807] -[StatusMenuController newHealthCardData:] NSNotification:{
administrationData = {
cardNumber = 80756013840040755348;
expiryDate = 1656540000000;
insurance = {
id = 01384;
name = SWICA;
};
};
identificationData = {
birthDate = 18446743318829151616;
firstName = "J\U00fcrg";
lastName = "Davatz-Stoll";
sex = 1;
ssn = 7562779064087;
};
}
2018-11-09 12:27:12.553681+0100 Scan2Post[947:18807] Line 86, NSDictionary:
{
insuranceCard = {
administrationData = {
cardNumber = 80756013840040755348;
expiryDate = 1656540000000;
insurance = {
id = 01384;
name = SWICA;
};
};
identificationData = {
birthDate = 18446743318829151616;
firstName = "J\U00fcrg";
lastName = "Davatz-Stoll";
sex = 1;
ssn = 7562779064087;
};
};
password = test;
username = "jdoe@gmail.com";
}
2018-11-09 12:27:12.553855+0100 Scan2Post[947:18807] Line 98, 468, JSON string:
{
"insuranceCard" : {
"identificationData" : {
"firstName" : "Jürg",
"lastName" : "Davatz-Stoll",
"sex" : 1,
"ssn" : "7562779064087",
"birthDate" : 18446743318829151616
},
"administrationData" : {
"expiryDate" : 1656540000000,
"cardNumber" : "80756013840040755348",
"insurance" : {
"id" : "01384",
"name" : "SWICA"
}
}
},
"username" : "jdoe@gmail.com",
"password" : "test"
}
2018-11-09 12:27:12.554034+0100 Scan2Post[947:18807] serverURL:<https://elstage.pharmedsolutions.ch>
scheme:https
2018-11-09 12:27:12.554208+0100 Scan2Post[947:18807] request header:{
"Content-Type" = "application/json; charset=utf-8";
}
2018-11-09 12:27:12.635178+0100 Scan2Post[947:18489] <NSHTTPURLResponse: 0x60c000028aa0> { URL: https://elstage.pharmedsolutions.ch/ } { Status Code: 404, Headers {
"Cache-Control" = (
"no-cache, no-store"
);
"Content-Length" = (
87
);
"Content-Type" = (
"application/json; charset=utf-8"
);
Date = (
"Fri, 09 Nov 2018 11:27:12 GMT"
);
Expires = (
0
);
Pragma = (
"no-cache"
);
Server = (
"nginx/1.10.3 (Ubuntu)"
);
"content-security-policy" = (
"default-src 'self' 'unsafe-inline' 'unsafe-eval' http://covercard.hin.ch https://covercard.hin.ch https://www.googletagmanager.com https://www.google-analytics.com tagmanager.google.com ws://localhost:9000 ws://localhost:8080 wss://*.pharmedsolutions.ch; img-src 'self' data:; connect-src 'self' data: ws://localhost:9000 ws://localhost:8080 wss://*.pharmedsolutions.ch; frame-src 'self' data:"
);
"x-content-type-options" = (
nosniff
);
"x-frame-options" = (
DENY
);
"x-permitted-cross-domain-policies" = (
"master-only"
);
"x-xss-protection" = (
"1; mode=block"
);
} }
2018-11-09 12:27:12.635396+0100 Scan2Post[947:18489] not found
2018-11-09 12:27:12.635513+0100 Scan2Post[947:18489] dataRx:
<7b224552 524f5222 3a22756e 6b6e6f77 6e2e656e 64706f69 6e74222c 22444554 41494c22 3a22656e 64706f69 6e74206e 6f742066 6f756e64 222c226d 65737361 6765223a 22556e6b 6e6f776e 20456e64 706f696e 74227d>
{"ERROR":"unknown.endpoint","DETAIL":"endpoint not found","message":"Unknown Endpoint"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment