summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18binding: identity: disable endpoint certificate checksRaquel Medina1-0/+6
agl-graphapi.forgerocklabs.org's certificate expired on Friday, October 26, 2018; disable certificate checks to allow for user profile data retrieval. Original work from Scott Murray <scott.murray@konsulko.com>. Bug-AGL: SPEC-2158 Change-Id: Idebc7d2afa6ad7b40550bc19b4012ea8b277d126 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-18binding: identity: read vin and user token from nfc tagRaquel Medina1-12/+45
Original idea and rework from Scott Murray for CES 2019 (funky flounder). This is a simplified version to match agl-service-nfc which in master is not providing all tag record fields but just the content value. To test an nfc tag must be programmed with a text record with value vin:uid. Bug-AGL: SPEC-2158 Change-Id: I12fb8e6b3f9e8259bc3c13829e44f7f0e0159f0a Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-18binding: identity: fix segfault & update to v3 forgerock binding callsRaquel Medina7-233/+239
On user login via nfc, the identity service segfaults on nfc event processing. Fix segfault, update forgerock compilation unit to use binding V3 call methods and review the identity agent baseline to remove unused code / tidy up. Bug-AGL: SPEC-2158 Change-Id: Ic87e630e9d028ba22937468375631b8e908011f8 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-11-23binding: identity-agent: update binding to v3Raquel Medina1-70/+89
Bug-AGL: SPEC-1959 This change was motivated by a segmentation fault on the nfc service api, the nfc binding is v3 and updating the identity binding to this version too is part of the fix. The changes under this commit simply - update binding artifacts from v2 to v3 - use json_objects typedef (opaque objects) for clarity Change-Id: Iab6f53794f915d13d9cb3e198e2c3d24c13f879d Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-10-24curl-wrap: Tiny optimizationJosé Bollo1-4/+10
Breaks the dependency to asprintf. Change-Id: I60fae81e0052b430a69277069907ec6b7ede8048 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-18binding: identity: update event processing for nfc binding dataMatt Ranostay1-12/+8
Switch from old NFC binding event data to new format in the binding rewrite. Change-Id: Ie7669f2a3e8005c10e680b2d4f821fc96d4a421d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-18binding: identity: remove useless NULL definitionMatt Ranostay1-4/+0
Pretty sure NULL doesn't need to be defined for any modern compiler in the last 20 years. Change-Id: I0f5aa4c31316a026b7fdefdbd767f92938ebbd78 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-11removed unused files and useless subdirectoriesLoïc Collignon19-0/+2827
Change-Id: Ie0ebe0104589ff99ae24c7410a484eeef18821e7 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>