Giter Club home page Giter Club logo

kia's People

Contributors

jeremybanks avatar

Stargazers

 avatar

Watchers

 avatar  avatar

kia's Issues

update crypto module

Update the crypto module to behave more consistently

  • don't use .pem-style ASCII serialization, use binary (BIO) + base64 + JSON
  • generate key ids based on the hash of the binary-encoded public key, not the current ASCII mess.

implement jsonrpc module

Implement the jsonrpc module. It should provide JSON-RPC client and server functionality (probably v1.0) running on Twisted's reactor.

Allow `crypto` to use OpenSSL's CLI instead of M2Crypto

crypto should search for the presence of M2Crypto, but if it's missing I should be able to use the openssl binary if it's available. Maybe eventually I can write a use my own C module in place of M2Crypto (I don't need to try to wrap everything).

I could start with subprocess.check_output(["openssl", "version"], stderr=subprocess.PIPE) and do something like ("10", "0") <= version.split(".") < ("11", "1").

man pages:

get the parts of dnesque described in the readme working

The readme (current version) describes three parts of dnesque.

Design

The dnesque software has three parts:

  1. A client that maintains a database of known dnesque records and exchanges this information with other clients over a distributed network.
  2. A dnesque-DNS bridge connected to a client, allowing systems and software to access dnesque records using the conventional DNS protocol.
  3. A browser plugin connected to a client, allowing websites the communicate dnesque information directly (optional but recommended).

Get each of them working, to some extent.

implement hashing module

The hashing module should contain functions for using hashes to generate data in different formats.

hashing.byte_generator(data, hash_type=hashlib.sha256) will be the basic function, generating an infinite sequence of bytes by repeatedly updating a hash with its current digest. Required higher-level functions:

  • hashing.produce_bytes(data, bytes=32, hash_type=...) produces a binary.ByteArray of the specified number of randomly generated bytes.
  • hashing.produce_bits(data, bits=256, hash_type=...) produces a binary.ByteArray of the specified number of randomly generated bits, padded with zeroes.
  • hashing.produce_int(data, low, high, hash_type=...) produces a random integer in the range [low, high).

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.