digital signing solution over the web Fotis Loukos Charalampos - - PowerPoint PPT Presentation

digital signing solution
SMART_READER_LITE
LIVE PREVIEW

digital signing solution over the web Fotis Loukos Charalampos - - PowerPoint PPT Presentation

it.auth | A browser-based digital signing solution over the web Fotis Loukos Charalampos Tsipizidis Dimitris Daskopoulos Arist stotl tle Universi sity ty of Thess


slide-1
SLIDE 1

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

A browser-based digital signing solution

  • ver the web

Arist stotl tle Universi sity ty of Thess ssalon

  • niki,

, IT Center | Fotis Loukos

Fotis Loukos Charalampos Tsipizidis Dimitris Daskopoulos

slide-2
SLIDE 2

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Contents

The problem Proposed solution

  • Architecture
  • Native Messaging Host
  • Native Messaging App

(browser plugin)

UX and Use cases Conclusion

slide-3
SLIDE 3

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

The need

Goal:

  • High assurance digital

identity in applications

  • Non-repudiation of

actions/documents

Means:

  • Digital signatures on

crypto devices (tokens)

Requirements:

  • Seamless digital signing
  • n the web
  • Ease of use, rapid

installation, minimal maintenance

slide-4
SLIDE 4

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Legacy solution

Lack of standardized interface between browser and token Java applet the

  • nly method to

access token Creation of a Java Applet that will sign anything

slide-5
SLIDE 5

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

The problem with legacy solutions

The Java Applet

Increasing perception of Java as vulnerable software Drop of support for Java in the browser Java updates too frequent and hard for the end user

slide-6
SLIDE 6

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Proposed solution

Browser extension with native components!

WebCrypto? Explicitly prevents access to hardware Javascript? Not standard way to access token Browser based solution

slide-7
SLIDE 7

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Architecture

Native messaging

Browser extension

PKCS#11 Library

OS native backend

Sign data

Token

Browser OS Computer USB Token Physical device

slide-8
SLIDE 8

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Browser extension

WebExtensions API

  • Currently runs on Google Chrome, Chromium and Opera
  • Will be supported at Firefox and Edge

Responsible for launching OS native component

  • Acts as a Native Messaging Host
  • Launches the OS native component
  • It can supply it with either local files or data from the web

server

slide-9
SLIDE 9

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

OS native component

Written in python

  • Portability (Windows, Linux, MacOSX)!
  • Uses the PyKCS11 library

Responsible for signing

  • It receives a JSON formatted message from the web extension

with the text to be signed

  • The component can either sign the text or its checksum

(md5/sha1/sha2 supported)

  • It supports multiple encodings for input message and signature
slide-10
SLIDE 10

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

OS native component

Sample message

  • {

“message”: “Hello world!”, “srcenc”: “plain”, “dstenc”: “base64”, “hash”: “sha256”, “includecert”: 1 }

slide-11
SLIDE 11

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Workflow

slide-12
SLIDE 12

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Installation experience

Installer for native app backend

  • Also includes drivers for the AcademicID, an ID

given to all Greek members of the academic community

Plugin auto-installed on the browser when first visiting app page

slide-13
SLIDE 13

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

User experience (1) - prepare

slide-14
SLIDE 14

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

User experience (2) – unlock crypto device

slide-15
SLIDE 15

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

User experience (3) - signed

slide-16
SLIDE 16

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Where is it used?

Already in production at AUTH

  • Signed course grading data in Student

Information System (custom)

  • Future work for document signing in

document management system (Alfresco)

Interested? Contact us!

slide-17
SLIDE 17

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Conclusion

The benefits of a method to securely sign using a hardware token

  • The future on the web will certainly include

digital signing. In a more standardized way.

  • But this is a working solution, today.
  • Sign actions (signed data stored on server)
  • Sign documents (signed docs submitted to

services)

slide-18
SLIDE 18

it.auth

| Κέντρο Ηλεκτρονικής Διακυβέρνησης ΑΠΘ

Aristotle University of Thessaloniki, IT Center | Fotis Loukos

Questions