Skip to content

hippo-digital/NHSbuntu-identity-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution
This IA is unsupported and not keeping up with the identity agent currently being deployed
The latest, support IAs can be found here: https://digital.nhs.uk/services/registration-authorities-and-smartcards/care-identity-service/news-and-service-updates/oberthur-smartcard-updates

NHSbuntu-identity-agent

Installation on Debian, Ubuntu or derivatives

you will need python3, pip, curl, pcscd and Git if not already installed on your machine

sudo apt install python3-pip curl pcscd python3-pykcs11

add the NHSbuntu packagecloud repo and install driver packages for smart card readers on Linux

curl -s https://packagecloud.io/install/repositories/nhsbuntu/nhs-smartcards/script.deb.sh | sudo bash

NOTE: if you are on a version of Ubuntu other than 16.04/xenial (or an Ubuntu derivative like mint) then you need to ensure that the distro codename is added correctly in etc/apt/sources.list.d/nhsbuntu-smartcards.list (should point to 'ubuntu' and 'xenial main')

sudo apt install libclassicclient libssl0.9.8 ifdokccid

git clone this repo then cd into the cloned directory

Usage (testing)

python -i authenticator.py

>>> auth = authenticator()

>>> response = auth.authenticate("1234")

should respond with XML containing a valid ticket for NHS Spine SSO

What works, and what doesn't...

Working

  • Series 6 and 8 Smartcards (possibly 4 & 5 - not tested)
  • Omnikey 3121 and Gemalto PC Twin card readers
  • Basic Spine authentication

Not Working

  • Any card management functions
  • Session persistence
  • Card expiry and passcode notifications

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages