Results 1 to 5 of 5

Thread: Prompt for PIN entry with Nitrokey Storage Encrypted USB stick

  1. #1

    Default Prompt for PIN entry with Nitrokey Storage Encrypted USB stick

    I am trying to understand what happens when I plug in a Nitrokey USB stick. With a laptop (for example) and with the correct public key on the laptop, when I plug in the Nitrokey I get a popup window with a PIN entry box. I enter the PIN and the stick encrypted drive opens and can be used as required.

    When I do this and plug the usb into a multimedia device running OSMC (Kodi) I do not get any popup. There is an additional problem in that the multimedia device is intended to work with the Kodi remote. This is essential for convenience but knowing what is going on would be a start.

    I am trying to understand what is happening when this PIN entry process starts. Is it started by the usb stick of the laptop system?

    Where do I start my reading?
    Budge.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,927
    Blog Entries
    2

    Default Re: Prompt for PIN entry with Nitrokey Storage Encrypted USB stick

    A search"kodi nitrokey" returns pages of results.
    Almost certainly, udev detects the key and configures basic access, then your security key is triggered to "send" the graphic interface to your machine so you can enter your PIN.

    There seem to be plenty of ways to contact nitrokey, depending on your need
    https://www.nitrokey.com/
    https://github.com/nitrokey

    General knowledge base
    https://www.nitrokey.com/documentation/applications

    Is a commercial product built on open technology.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: Prompt for PIN entry with Nitrokey Storage Encrypted USB stick

    Quote Originally Posted by tsu2 View Post
    A search"kodi nitrokey" returns pages of results.
    Almost certainly, udev detects the key and configures basic access, then your security key is triggered to "send" the graphic interface to your machine so you can enter your PIN.

    There seem to be plenty of ways to contact nitrokey, depending on your need
    https://www.nitrokey.com/
    https://github.com/nitrokey

    General knowledge base
    https://www.nitrokey.com/documentation/applications

    Is a commercial product built on open technology.

    TSU
    Hi Tsu,
    Please forgive. I am embarrassed didn't try this as I have read many other pages. Will study more and get back to you when I understand more of what I need.
    Thanks once more.
    Budge

  4. #4

    Default Re: Prompt for PIN entry with Nitrokey Storage Encrypted USB stick

    Hi Tsu,
    Well I haven't made much progress. I have been over all the instructions again after you posted. I have checked that I have installed the libccid package and the nitrokey-app package all from debian repo and they are on installed in the OSMC/Kodi device, as is the public key.

    When I insert the Nitrokey USB into the media device (Vero 4K) I get a flag telling me the device is mounted but I cannot access it from the screen using the remote. I can see the device but cannot open it and nothing is opening up the graphics window for PIN entry.

    I did make some enquiries on Nitrokey forum but this is what I received:-

    Code:
    Regarding our team - we are occupied for now, sorry!
    I can give tips though to whoever would like to make it. As far as I see  Kodi add-ons are written in Python. Our communication backend - libnitrokey  - is in C++, and we use Python for testing, so that would be already  solved, and it would be just a matter of adding proper Kodi GUI.
    In case though it would not be possible to build the C++ part using  Kodi’s distribution system on the targer machine, it is possible to  write pure Python library only for unlocking/locking the Encrypted  Volume, which would solve this.
    Sadly I am no wiser but if you can add anything it would be appreciated. Will also look on RPi forum in case they have a solution.
    Many thanks once more.
    Budge

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,927
    Blog Entries
    2

    Default Re: Prompt for PIN entry with Nitrokey Storage Encrypted USB stick

    Of course,
    If you installed Kodi on openSUSE instead of using an appliance/embedded box, you wouldn't have this problem

    Although I haven't tried to deploy Kodi (yet) since their major overhaul,
    My main question is why you're plugging your nitrokey into the media box and not into your openSUSE (I assume you're running openSUSE as your media client).
    Most modern media center software have the ability to mount media sources on any machine in the network, source (the video files or whatever) doesn't have to be directly attached to the server (your Vero 4K running Kodi).

    I would imagine that if you mounted your nitrokey on yoiur openSUSE (thereby unlocking your nitrokey and its contents), you should then be able to "share" your nitrokey to any machine in your LAN including your Kodi server running on Vero 4K.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •