Giter Site home page Giter Site logo

hookflash / obsolete.op Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 17.0 627.82 MB

C++ Open Peer core library - P2P Protocol (needed for iOS SDK)

C++ 79.15% C 12.85% Objective-C 0.30% Python 2.80% Shell 0.71% Assembly 2.06% MATLAB 0.04% Java 0.08% Perl 0.33% PHP 1.13% JavaScript 0.01% CSS 0.13% Graphviz (DOT) 0.01% XSLT 0.37% Tcl 0.01% C# 0.02% R 0.01% Ruby 0.01% Prolog 0.01% Logos 0.01%

obsolete.op's People

Stargazers

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

Watchers

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

obsolete.op's Issues

Sort keys in JSON objects when signing.

Since according to the JSON spec, "an object is an unordered set of name/value pairs", we should not rely of JSON object key order when calculating the bytes to hash for signing. This issue is to sort the keys before serializing and hashing. Keys are limited to 7-bit ascii values so a simple binary sort is fine.

signature validation hack

define VERY_BAD_HACK_TO_TEMPORARILY_DISABLE_SIGNATURE_VALIDATION 1

define VERY_BAD_HACK_TO_TEMPORARILY_DISABLE_SIGNATURE_VALIDATION 2

Did you create ticket for server guys around this hack? I want to make sure there is a correlation so we know when to fix this after they are done. Please create a ticket for then and reference this ticket so we know when to remove this hack.

clientNonce to nonce for requests

Rename "clientNonce" to "nonce"

For the following requests:
Lockbox Access Request
Lockbox Access Validate Request
Lockbox Namespace Grant Challenge Validate Request
Lockbox Identities Update Request
Lockbox Content Get Request
Lockbox Content Set Request
Identity Access Lockbox Update Request
Identity Access Validate Request
Identity Lookup Update Request
Peer Services Get Request
Peer Identify Request

Subscribe to "self" when coming online

By subscribing to ourselves when we come online we will auto-synchronize all conversations with any other device that is currently logged in as ourselves.

Peer Location Find Request changes

  • clientNonce renamed nonce
  • added "context"
  • added "peerSecretEncrypted"
  • added two types of credentials (one class for "ice" and one for "finder-relay")
  • adding missing ice information to be compatible with web browser ICE
  • removed ice usernameFrag and password

Unable to build boost on OS X 10.8.4

Following the instructions to build boost from the opios project:

cd OP/hookflash-libs/boost/projects/gnu-make/
./build all

Causes the boost install to freeze (as below). I debugged and pulled out the command it's running to try it manually:

lap2$ sudo ./bjam --prefix=/Volumes/raptor1/Dropbox/project.x/op/hookflash-libs/boost/projects/gnu-make/../../../../hookflash-staging architecture=x86 address-model=32 link=static install
Performing configuration checks

- has_icu builds           : no

Component configuration:

- date_time                : building
- filesystem               : not building
- graph                    : not building
- graph_parallel           : not building
- iostreams                : not building
- math                     : not building
- mpi                      : not building
- program_options          : not building
- python                   : not building
- random                   : not building
- regex                    : building
- serialization            : not building
- signals                  : not building
- system                   : not building
- test                     : not building
- thread                   : building
- wave                     : not building

(hangs here)^C
lap2$

Whilst it's hung, bjam shows in ps like this:

lap2$ ps auxw | grep bjam
jfenton 1116 0.0 0.0 2432768 624 s000 R+ 8:18pm 0:00.00 grep bjam
jfenton 1105 0.0 1.3 2662984 218556 s002 U+ 8:17pm 0:22.77 ./bjam --prefix=/Volumes/raptor1/Dropbox/project.x/op/hookflash-libs/boost/projects/gnu-make/../../../../hookflash-staging architecture=x86 address-model=32 link=static install
lap2$

and has no child processes:

|-+= 00266 jfenton /sbin/launchd
| |--= 00269 jfenton /usr/libexec/UserEventAgent (Aqua)
| |--= 00270 jfenton /usr/sbin/distnoted agent
| |--= 00272 jfenton /usr/sbin/cfprefsd agent
| |--= 00277 jfenton /usr/sbin/pboard
| |--= 00283 jfenton /usr/sbin/usernoted
| |--= 00287 jfenton /Applications/Mail.app/Contents/MacOS/Mail -psn_0_40970
| |--= 00291 jfenton /Applications/OmniFocus.app/Contents/MacOS/OmniFocus -psn_0_53261
| |-+= 00295 jfenton /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_65552
| | |-+= 96353 root login -pfl jfenton /bin/bash -c exec -la bash /bin/bash
| | | --= 96354 jfenton -bash
| | |-+= 00448 root login -pfl jfenton /bin/bash -c exec -la bash /bin/bash
| | | -+= 00453 jfenton -bash
| | | -+= 00812 root sudo ./build all
| | | -+- 00813 root /bin/bash ./build all
| | | --- 00955 root ./bjam --prefix=/Volumes/raptor1/Dropbox/project.x/op/hookflash-libs/boost/projects/gnu-make/../../../../hookflash-staging architecture=x86 address-model=32 link=static install
| -+= 01023 root login -pfl jfenton /bin/bash -c exec -la bash /bin/bash
| | -+= 01024 jfenton -bash
| | |-+= 01100 jfenton pstree
| | | --- 01102 root ps -axwwo user,pid,ppid,pgid,command
| | --- 01101 jfenton more

Running the bjam command line without 'install' does build without error (but not install, obviously), and during install it's running under sudo so shouldn't be a permissions issue.

Any ideas?

define permission URLs

define WARNING_HACK_UNTIL_PERMISSIONS_URLS_ARE_DEFINED 1

define WARNING_HACK_UNTIL_PERMISSIONS_URLS_ARE_DEFINED 2

Those need to be removed from code when we do know the final namespaced urls.

Regex version of subscribe

subscribe message works on path matching but it should work using regex since it's fully available (and required) elsewhere.

Peer Location Find Reply changes

  • added reply context
  • added reverse peer secret (non encrypted)
  • remove ICE usernameFrag / ice password
  • updated ICE fields to be more compatible with webRTC clients / trickle ICE

Build core caching

Allow each platform to provide external cache for core / stack objects

digestValue is not base64 encoded

cc: @adriano-maljkovic

         "saltBundle": {
                "salt": {
                  "$id": "e0caf904ea010d984eb05c14d03ad26fc644cde0",
                  "#text": "M2Y1ZDI2ZWY1OGM5MmY4MGRmYWEwYjRkYWFjODhhNzM1ZjI1ZGEyOA=="
                },
                "signature": {
                  "reference": "#e0caf904ea010d984eb05c14d03ad26fc644cde0",
                  "algorithm": "http:\/\/openpeer.org\/2012\/12\/14\/jsonsig#rsa-sha1",
                  "digestValue": "\ufffd9\ufffd\ufffd@\ufffds\ufffdYj\u00035\ufffdT\ufffd\u03d2r\ufffd",
                  "digestSigned": "pLmXMs68MDhFm0Kh5NMB3pL6jnfX8Z\/3eEZhZYfVLCy8Cr7QmPejgPP23L915eEuXCzxwMV\/TnoC3k7XB99vJCw98HcSWy2gz5YdEj1bb+XYnb67G13tDyil0EWTmYflAU9\/sKKnLp2MDQlfV14r9nMEYKMfDbhWmBkX0wdM0Fhh8oG7buPXM4W7VS20KKS4Q39dg30yNfndYIvVSf5iVcPilj6pFCIWNERJbXukta+S6jEJzIJIeFKx+AjUTK\/qS4K0x87aSiqZ\/\/pjvAcj4XnKRR62tbQFh+8bB\/xCcRHR9BZHwNNpj9ZlhxAELxG7TPoGYGFfRBIp93RM+uopqw==",
                  "key": {
                    "$id": "1fa0f733fa998d527c31eeb42454e0d5261daba0",
                    "domain": "idprovider-javascript.hookflash.me",
                    "service": "salt"
                  }
                }
              }

It's a problem everywhere the server is signing values.

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.