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
    I see it's not pushed to your repo yet
    konobi
    @konobi
    the test.js
    hopefully you're on osx
    Andrey Sidorov
    @sidorares
    I am
    is mincrypt on npm?
    konobi
    @konobi
    nope
    Andrey Sidorov
    @sidorares
    is it doing something not implemented by crypto?
    konobi
    @konobi
    yeah
    it's what adb itself uses
    Andrey Sidorov
    @sidorares
    good start - hopefully I'll be able to try it with my new phone tomorrow
    konobi
    @konobi
    now to convert all this into "link" streams and what not
    Andrey Sidorov
    @sidorares
    sign = crypto.createSign('RSA-SHA256') ?
    I'll try to experiment with crypto. At least I have correct value to check if my sign code is correct
    konobi
    @konobi
    yeah, i tested with crypto again, but yeah... mincrypt is the one
    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