{ "info": { "author": "Daniel Holth", "author_email": "dholth@fastmail.fm", "bugtrack_url": null, "classifiers": [], "description": "modhex\r\n======\r\n\r\nThe Yubikey is a one-time password device that acts as a USB\r\nkeyboard, emitting a unique sequence of keycodes each time the button\r\nis pressed. These codes produce different characters depending on\r\nyour keyboard layout. This can be frustrating if your keyboard layout\r\nis incompatible with the Yubico server. \r\n\r\n`modhex.translate(otp)` compares the unicode output of a Yubikey\r\nagainst the characters the Yubikey would emit in a variety of keyboard\r\nlayouts, returning the set of possible translations. In the likely\r\ncase `len(set(otp)) == 16`, almost every keyboard layout has an\r\nunambigous translation into Yubico-compatible modhex, what the\r\nYubikey types under the QWERTY keyboard layout.\r\n\r\n>>> import modhex\r\n>>> modhex.translate(u\"jjjjjjjjnhe.ngcgjeiuujjjdtgihjuecyixinxunkhj\")\r\nset([u'ccccccccljdeluiucdgffccchkugjcfditgbglbflvjc'])\r\n\r\n>>> modhex.translate(u\"jjjjjjjjnhe.ngcgjeiuujjjdtgihjuecyixinxunkhj\",\r\n... modhex.HEX)\r\nset([u'00000000a823ae7e0254400069e580427d515a14af80'])", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "Modhex", "package_url": "https://pypi.org/project/Modhex/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Modhex/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/Modhex/0.1/", "requires_dist": null, "requires_python": null, "summary": "Translate yubikey one-time passwords to modhex regardless of keyboard layout.", "version": "0.1" }, "last_serial": 784725, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ca1545d7b62b42ee68e543f6db933752", "sha256": "f961831607600415a11e66526c57f1783c21214ef7cdbacf2e560e291bc0171d" }, "downloads": -1, "filename": "Modhex-0.1.tar.gz", "has_sig": false, "md5_digest": "ca1545d7b62b42ee68e543f6db933752", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5271, "upload_time": "2009-12-12T20:50:11", "url": "https://files.pythonhosted.org/packages/e1/6c/579e86c0ced23568fe88b2b4641e1144a238d9bad05a3d5b190870921fed/Modhex-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ca1545d7b62b42ee68e543f6db933752", "sha256": "f961831607600415a11e66526c57f1783c21214ef7cdbacf2e560e291bc0171d" }, "downloads": -1, "filename": "Modhex-0.1.tar.gz", "has_sig": false, "md5_digest": "ca1545d7b62b42ee68e543f6db933752", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5271, "upload_time": "2009-12-12T20:50:11", "url": "https://files.pythonhosted.org/packages/e1/6c/579e86c0ced23568fe88b2b4641e1144a238d9bad05a3d5b190870921fed/Modhex-0.1.tar.gz" } ] }