Code Monkey home page Code Monkey logo

libkeybase-js's Introduction

libkeybase-js Build Status

Various keybase libraries useful in Node or in the browser for manipulating site crypto.

libkeybase-js's People

Contributors

heronhaye avatar malgorithms avatar maxtaco avatar oconnor663 avatar s4y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libkeybase-js's Issues

Ignore broken chainlinks

Include a hardcoded list of broken chainlinks, and check they fit into the sigchain properly, but otherwise discard them and don't consider their contents.

cc: @akalin-keybase whose sigchain is broken

Two chainlinks to add to the list:

[
    "2a0da9730f049133ce728ba30de8c91b6658b7a375e82c4b3528d7ddb1a21f7a0f",
    "0f175ef0d3b57a9991db5deb30f2432a85bc05922bbe727016f3fb660863a1890f"
]

verified_buffer has no method 'equals' error

Installing the latest version of keybase gives me the following error (below) when trying to run some commands. Tracking down the issue, it looks like it is coming from this lib, and starting with 1.2.1, I tried 1.2.2 and 1.2.3 those also fail. If I revert to 1.2.0, it works fine. so it looks like something that was changed in between 1.2.0 and 1.2.1 broke this.

Not sure if this is just me, or a wider issue. I uninstalled keybase and keybase-installer and started from scratch and I still had the issue.

Running on

keybase (keybase.io CLI) v0.8.2
- node.js v0.10.35
- gpg (GnuPG/MacGPG2) 2.0.27
- libgcrypt 1.6.3
Identifies as: 'keybase.io node.js client v0.8.2 darwin'

ERROR

$ keybase status
/usr/local/lib/node_modules/keybase/node_modules/libkeybase/lib/sigchain/sigchain.js:577
    if (!verified_buffer.equals(unverified_buffer)) {
                         ^
TypeError: Object {"body":{"cryptocurrency":{"address":"xxx","type":"xxx"},"key":{"fingerprint":"xxx","host":"keybase.io","key_id":"xxx","uid":"xxx","username":"xxx"},"type":"cryptocurrency","version":1},"ctime":xxx,"expire_in":157680000,"prev":null,"seqno":1,"tag":"signature"} has no method 'equals'
    at exports.check_buffers_equal.check_buffers_equal (/usr/local/lib/node_modules/keybase/node_modules/libkeybase/lib/sigchain/sigchain.js:577:26)
    at /usr/local/lib/node_modules/keybase/node_modules/libkeybase/lib/sigchain/sigchain.js:374:23
    at /usr/local/lib/node_modules/keybase/node_modules/libkeybase/lib/sigchain/sigchain.js:378:23
    at iced.Deferrals.parent (/usr/local/lib/node_modules/keybase/node_modules/libkeybase/lib/sigchain/sigchain.js:365:30)
    at /usr/local/lib/node_modules/keybase/node_modules/libkeybase/lib/sigchain/sigchain.js:367:21
    at Deferrals.exports.Deferrals.Deferrals._call (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:86:16)
    at /usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:98:26
    at exports.trampoline.trampoline (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:64:14)
    at Deferrals.exports.Deferrals.Deferrals._fulfill (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:96:16)
    at ret (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:29:18)

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.