Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrey Sidorov
    @sidorares
    konobi
    @konobi
    trust me, it's mincrypt or nothing
    Andrey Sidorov
    @sidorares
    :)
    konobi
    @konobi
    you can see in the node_modules directory there's a bunch of stuff I experimented with
    Andrey Sidorov
    @sidorares
    Is mincrypt your code? It's a pity that node core is not enough
    yeah, I see it
    konobi
    @konobi
    it's from AOSP
    Andrey Sidorov
    @sidorares
    node module or sign example?
    It might be possible to use openssl cli instead of module
    konobi
    @konobi
    trust me, mincrypt is the only way to get it to work
    Andrey Sidorov
    @sidorares
    It's so much less pain when all dependencies are js-only ( architecture / node upgrades etc )
    konobi
    @konobi
    yeah
    Andrey Sidorov
    @sidorares
    ffi to RSA_sign :)
    Andrey Sidorov
    @sidorares
    not tried, but seems to do everything in js
    uses chrome usb
    Andrey Sidorov
    @sidorares
    Hey @konobi ! Got my new phone, unfortunately it's android 4.2 and sdb over tcp works just fine without auth. Do you know if it's possible to force auth on older android?
    Andrey Sidorov
    @sidorares
    Also when I'm trying usb I get this error:
    Error: LIBUSB_ERROR_ACCESS
    node-adbhost/node_modules/usb/usb.js:139
    lib/usb.js:103
    100 USBDevice.prototype.start = function() {¬
    101 var self = this;¬
    102 ¬
    103 self.iface.claim(); // <-- this line
    konobi
    @konobi
    howdy
    I just pushed a new version to my repo... without USB, but has auth working for tcpip
    konobi
    @konobi
    mkay... and usb is sorta on its way now
    konobi
    @konobi
    now the userstream stuff is where it's going a little odd
    @sidorares lemme know if you've got a few mins
    konobi
    @konobi
    k... whole bunch of updates on my fork
    Andrey Sidorov
    @sidorares
    Hi! have few mins :)
    konobi
    @konobi
    ah cool
    Andrey Sidorov
    @sidorares
    Need to find windows machine to flash my phone to 4.4 and try your tcp auth
    konobi
    @konobi
    heh
    there's always a vm
    Andrey Sidorov
    @sidorares
    Do you know possible reasons for my LIBUSB_ERROR_ACCESS error?
    konobi
    @konobi
    yeah, turns out there was a bug in node-usb itself
    Andrey Sidorov
    @sidorares
    Yeah, I can probably download vm from microsoft
    konobi
    @konobi
    I also streamlined the mincrypt stuff, and added the 2 other dependencies
    but now one can actually talk to the usb device... though that's flakey as all hell, but it's progress at least
    the tcp version is working much better, but the AdbStream stuff isn't handling it all that well
    i encapsulated tcp/usb in a "link" stream
    so there's probably a better way to encapsulate it now
    i'm going to keep going with the usb stuff, but would you fancy having a look at the stuff over tcp?
    Andrey Sidorov
    @sidorares
    I'll try later today ( after flashing to 4.4.2 )
    konobi
    @konobi
    cool
    Andrey Sidorov
    @sidorares
    Do you have your new usb code in master?
    konobi
    @konobi
    yup
    Andrey Sidorov
    @sidorares
    cool, I'll try it now
    Andrey Sidorov
    @sidorares
    had to manually install "bindings" - need to add to package.json
    konobi
    @konobi
    oh... doh... forgot about that one
    oh... and nan too