Giter Club home page Giter Club logo

blog's People

Contributors

aryamanz29 avatar dl1ely avatar

Watchers

 avatar

blog's Issues

Neolayout2 Yubikey Keymappings

pin: false
summary: Neolayout2 Yubikey Keymappings

Neolayout2 is a rather esoteric ergonomic keyboard layout optimized for the German language. Except for the numbers, nearly all keys are mapped in a non-standard way not even remotely similar to qwerty or qwertz keyboard layouts.

Luckily, Linux supports this keyboard layout out of the box. But this poses problems when generating OTP passwords from a Yubikey, which emulates an USB keyboard. The "key presses" the Yubikey sends to the host PC are mapped to different characters by the keyboard layout, which the Yubikey knows nothing about. This leads to OTP passwords starting with ääääää instead of cccccc as it should be.

The Yubikey tries to circumvent the problem of variable keyboard layouts on the host PC by using only keys that are the same on qwerty, qwertz and Dvorak layouts, but this approach fails on more esoteric layouts. But using the ykpersonalize tool, one can set a custom mapping for the 45 "keys" used by the Yubikey NEO or newer, so that after mapping through the host PC keyboard layout, the expected characters end up in the OTP password.

The command to make a Yubikey emit correct keypresses for the neolayout2 keyboard layout is

ykpersonalize -y -S 15113309120c1816381c080d0e0f041a9591b389928c9896b89c888d8e8f849a271e1f202122232425261c2b28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.