*** tpb has joined #tomu | 00:00 | |
*** andi- has quit IRC | 01:24 | |
*** MadHacker has quit IRC | 01:24 | |
*** gmodena has quit IRC | 01:24 | |
*** MadHacker has joined #tomu | 01:24 | |
*** andi- has joined #tomu | 01:28 | |
*** W1lkins has quit IRC | 01:54 | |
*** theshaun has quit IRC | 01:54 | |
*** esden has quit IRC | 01:54 | |
*** esden has joined #tomu | 02:00 | |
*** W1lkins has joined #tomu | 02:01 | |
*** auscompgeek has quit IRC | 02:48 | |
*** im-tomu has quit IRC | 02:48 | |
*** huene has quit IRC | 02:48 | |
*** rails has quit IRC | 02:48 | |
*** dkess has quit IRC | 02:48 | |
*** OnkelUlla has quit IRC | 02:48 | |
*** rails has joined #tomu | 03:04 | |
*** auscompgeek has joined #tomu | 03:09 | |
*** im-tomu has joined #tomu | 03:52 | |
*** FunkyBob has left #tomu | 03:56 | |
*** auscompgeek has quit IRC | 05:12 | |
*** auscompgeek has joined #tomu | 05:24 | |
*** OnkelUlla has joined #tomu | 06:41 | |
*** gmodena has joined #tomu | 09:05 | |
*** znoteer has joined #tomu | 12:47 | |
znoteer | hi, I'm trying to compile chopstx/u2f for my newly acquired tomu. I've installed everything the docs say to install, but when I run "make ENFORCE_DEBUG_LOCK=1" I get the error "ImportError: No module named asn1crypto.keys\nMakefile:42 : la recette pour la cible "cert/certificates.c" a échouée\nmake: *** [cert/certificates.c] Erreur 1". I'm on debian stable. I've tried 3 different ways of installing | 12:53 |
---|---|---|
znoteer | asn1crypto and all have given the same error. Running make with root priviledges also gives this error. Any suggestions? | 12:53 |
znoteer | sorry, the part in French is roughly "Makefile: 42 : the recipe for the target "cert/certificates.c" failed" | 12:54 |
znoteer | also, I'm not sure this is the best place to ask this question. If not, my apologies. In that case, suggestions as to where to ask the question would be welcome. Thanks | 12:58 |
auscompgeek | znoteer: cert/gen.sh runs cert/dump-der.py using your default python interpreter, so you'll need asn1crypto installed for whichever interpreter the `python` command is | 13:23 |
auscompgeek | if you have it installed for a different python interpreter, you could run `python dump-der.py > certificates.c` in cert/ yourself | 13:25 |
znoteer | auscompgeek: sorry for the naive question, but how would I know which interpreter I'm using? There's at least 2, maybe 3 versions of python on Debian, I think. I used pip3 to install asn1crypto, but maybe I should just have used pip? | 13:31 |
znoteer | I didn't have pip on my box until I installed it, so maybe I installed the wrong version | 13:33 |
xobs | If you installed it using pip3, then you need to run it using python3. | 13:37 |
xobs | It looks like inject_key.py calls python3, but u2f/cert/gen.sh simply calls python. | 13:38 |
znoteer | xobs: thanks. I'll try installing asn1crypto with pip, then | 13:44 |
znoteer | auscompgeek, xobs: I uninstalled asn1crypto that I'd installed with pip3 and reinstalled it with pip, and everything compiles. Thanks. | 14:01 |
*** duncan^ has quit IRC | 14:06 | |
*** duncan^ has joined #tomu | 14:15 | |
znoteer | I ran "make ENFORCE_DEBUG_LOCK=1", but I don't see a *.o or *.bin. What does a binary look like when one compiles C code? | 14:53 |
*** matt_c has joined #tomu | 15:09 | |
xobs | I believe it makes u2f.bin... | 15:14 |
znoteer | xobs: that is what I was expecting based on the docs, but that is not what has happened. Any thoughts about what I should be looking for? | 15:16 |
xobs | look in build/ | 15:20 |
znoteer | that's it, thanks. So inject_key.py knows to look in build, or do I have to tell it to look there? | 15:21 |
xobs | Looking at inject_key.py, it defaults to build/u2f.elf, which it patches, and copies the resulting binary to build/u2f.bin. So yes, it defaults to looking at that file. | 15:24 |
znoteer | xobs: I have both a u2f.bin and a u2f.elf. I don't particularly understand python, but looking at that script myself, it seems it patches the elf, then creates the bin from the elf. Is that correct? | 15:36 |
xobs | Correct. | 15:41 |
*** W1lkins has quit IRC | 17:32 | |
*** W1lkins has joined #tomu | 17:57 | |
*** kuldeep has quit IRC | 19:37 | |
*** kuldeep has joined #tomu | 19:40 | |
*** czer00 has quit IRC | 19:41 | |
*** czer00 has joined #tomu | 19:52 | |
znoteer | xobs: sorry, I had to run and was away for some time. Thanks for the confirmation | 19:56 |
znoteer | so, I've compiled chopstx/u2f, generated and injected my key into the binary, flashed the binary to my tomu, added the Firefox add-on for u2f, added the udev rule and rebooted. When I try to register my flashed tomu at demo.yubico.com/u2f, the tomu starts to flash, but then there is no reaction to me touching the top edge and the registation times out after a few seconds. Does anyone see anything I've missed? | 20:00 |
znoteer | FF 52.9.0. I've also tried with Chromium version 68.0.3440.75 with the same result | 20:02 |
znoteer | the host system is Debian stable | 20:03 |
znoteer | (9.5) | 20:03 |
znoteer | I just found logs for the Firefox/u2f add-on. "device waits for button press" then "EBD e0010{"errorCode":5 | 20:23 |
znoteer | } | 20:23 |
znoteer | then "exit 1 null" | 20:24 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!