hookflash / obsolete.op Goto Github PK
View Code? Open in Web Editor NEWC++ Open Peer core library - P2P Protocol (needed for iOS SDK)
C++ Open Peer core library - P2P Protocol (needed for iOS SDK)
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.
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.
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
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.
Should be lowercased as per spec.
This will save on memory of nothing is using the object at the core/stack level.
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?
Those need to be removed from code when we do know the final namespaced urls.
subscribe message works on path matching but it should work using regex since it's fully available (and required) elsewhere.
Rename field "cipher" to "algorithm" and put in value:
http://meta.openpeer.org/2013/07/21/jsonmsg#rsa-sha1-aes-cfb-32-16-16-sha256-md5
Reason:
Needed to define clear rules for algorithm processing of the public / private peer file.
Changed from:
http://openpeer.org/2012/12/14/jsonsig#rsa-sha1
To:
http://meta.openpeer.org/2012/12/14/jsonsig#rsa-sha1
Purpose:
Used in JSON signatures. This allows the URL to become a resolvable URI.
Should be only in section A as per spec.
Allow each platform to provide external cache for core / stack objects
Required now on request so that identity-lockbox-access can be validated
Since an epoch is an instant in time and this value is actually time since the unix epoch, we should rename the field to be less confusing.
There was salt missing from the lockbox content values.
https://github.com/openpeer/hcs-servers-java/issues/9
make sure identity-lockbox-update request happens before the lockbox is able to bring up the namespace grant window
"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.
/Users/morosev/Repos_upgrade/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.