Distribution - open-eid/chrome-token-signing GitHub Wiki

Installer files

The installation of the native component needs to place three components:

  • Native host executable itself
  • Manifest file that specifies which extensions can talk to the executable
  • "Installation hint" that will initiate the extension installation from the web store

Important constants:

  • Manifest file (and native messaging host) name: ee.ria.esteid.json
  • Extension ID: ckjefchnfjhjfedoccjbhjpbncimppeg

More precise description is available in Chrome documentation

Linux

  • Executable: /usr/bin/chrome-token-signing

Google Chrome:

  • Manifest location: /etc/opt/chrome/native-messaging-hosts
  • Installation hint: /opt/google/chrome/extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json

Debian & Ubuntu Chromium:

  • /usr/share/chromium/extensions
  • /etc/chromium/native-messaging-hosts

OS X

  • Executable: /Library/Google/Chrome/NativeMessagingHosts/chrome-token-signing.app/Contents/MacOS/chrome-token-signing
    • Inside a "user-visible" app
  • Manifest location: /Library/Google/Chrome/NativeMessagingHosts
  • Installation hint: /Library/Application Support/Google/Chrome/External Extensions/ckjefchnfjhjfedoccjbhjpbncimppeg.json

Windows

  • Executable: C:\Program Files (x86)\Chrome Token Signing\chrome-token-signing.exe
  • Manifest hint: HKLM\SOFTWARE\Google\Chrome\NativeMessagingHosts HKLM\SOFTWARE\Wow6432Node\Google\Chrome\NativeMessagingHosts
  • Manifest location: C:\Program Files (x86)\Chrome Token Signing
  • Installation hint: HKLM\SOFTWARE\Google\Chrome\Extensions\ckjefchnfjhjfedoccjbhjpbncimppeg HKLM\SOFTWARE\Wow6432Node\Google\Chrome\Extensions\ckjefchnfjhjfedoccjbhjpbncimppeg

Versioning

Versioning is inspired by Semantic Versioning and it follows the following numbering format: MAJOR.MINOR.RELEASE.BUILD. The initial release version was 1.0.0. For example, version number 1.0.2.393 would mean:

  • Major version is 1, incremented on backwards incompatible changes.
  • Minor version is 0, incremented on adding new and backwards compatible functionality.
  • Release version is 2, incremented on weekly beta builds and bug fixes.
  • Build number is 393. This is internal continuous integration build number.