Comments (12)
Will push a new version today
On 3/15/14, 7:29 AM, tearmann wrote:
The version in npm seems to be broken.
$npm install sodium
$grep -r"./tobuffer"returns
|node_modules/sodium/lib/sign.js:var toBuffer = require('../lib/tobuffer');
node_modules/sodium/lib/box.js:var toBuffer = require('./tobuffer');
node_modules/sodium/lib/box2.js:var toBuffer = require('./tobuffer');
node_modules/sodium/lib/secretbox.js:var toBuffer = require('./tobuffer');
node_modules/sodium/test/test_toBuffer.js:var toBuffer = require('../lib/tobuffer');
node_modules/sodium/test/test_toBuffer.js: toBuffer = require('../lib-cov/tobuffer');
|But the file being referenced from these locations is
|lib/toBuffer.js| with a capital BThe code in this repo seems to be correct so can we have another push?
Found as part of this telehash/telehash-js#10
telehash/telehash-js#10—
Reply to this email directly or view it on GitHub
#9.
from node-sodium.
Thanks I thought this was abandoned so I started on a fork here
https://github.com/tearmann/node-sodium
That repo has the following updates:
- Submodule approach abandoned and now takes the leveldb library approach using deps
- Build moved over to node-gyp
- Docker Node Test integration https://github.com/rvagg/dnt
- Start of the move to tap test framework
- Travis integration and initial pass
If you would consider putting this code and this repository under the Open Open Source Licence
https://github.com/rvagg/node-levelup/blob/master/CONTRIBUTING.md
I would love to submit a pull request and continue to work with you directly on this library.
Still to do
- Integrate with a V8 abstraction layer maybe https://github.com/rvagg/nan
- Improve gyp support for windows mac and smartOS
- Complete the test suite and resolve some of the current failing tests.
Hope you like the direction suggested and whatever your decision thanks for starting such an awesome library :)
from node-sodium.
Perfect. lets merge your changes in
from node-sodium.
npm package updated should work now. Did a fresh install on my mac and all tests passed.
Version updated to 1.0.10
from node-sodium.
After the merge I am getting errors on Mac
dyld: Symbol not found: _crypto_scalarmult_curve25519_base
Referenced from: /Users/xxxx/work/node-sodium/build/Release/sodium.node
Expected in: dynamic lookup
What needs to change in te gyp files to fix this? This is urgent as now the code will not work on Mac OS
from node-sodium.
Will take a look at that.
Seems like the symbol has changed maybe because we are linked now?
from node-sodium.
Why are you converting the tests to tap?
If Tap is absolute need we can run the mocha tests with the tap reporter and we get the same output
from node-sodium.
Thanks for validating the mac build.
So the current npm package 1.0.10 still uses the old build script.
What pieces do you feel we waiting for before we move to the node-gyp version?
from node-sodium.
So https://github.com/paixaop/node-sodium/blob/master/package.json#L12 seems to be a problem as npm is only reporting 0.2.0 https://www.npmjs.org/package/mocha-istanbul
BTW do you hangout on IRC? #stackvm on freenode
Or [email protected] on jabber [email protected] too
from node-sodium.
Closing this because it's not true anymore :) For Linux and Mac
Windows coming soon.
TY @paixaop
from node-sodium.
Hi. I've made a fork of this project a few months ago. I came back here to see if there is anything new on this repo (I wasn't watching it).
Back when I forked this lib, libsodium was integrated as a submodule. I wanted to know why you abandoned that approach?
from node-sodium.
Simpler and more robust build process.
But once the build/install development stabilizes I will revert to the
sub module so keeping up with libsodium will be easier
Best regards,
Pedro
On 5/15/14, 6:04 AM, The Syrian Watermelon wrote:
Hi. I've made a fork https://github.com/Mowje/node-sodium.git of
this project a few months ago. I came back here to see if there is
anything new on this repo (I wasn't watching it).Back when I forked this lib, libsodium was integrated as a submodule.
I wanted to know why you abandoned that approach?—
Reply to this email directly or view it on GitHub
#9 (comment).
from node-sodium.
Related Issues (20)
- Fails to compile on openSUSE LEAP 15 (../deps/build/lib/libsodium.a: No such file or directory ) HOT 8
- Cant install sodium on my Pi HOT 2
- Compiling sodium on TravisCI fails HOT 1
- Console error 'msvsversiion not defined' when invalid Visual Studio Version is found
- Invalid ELF Header HOT 1
- Error installing on Windows
- make libsodium exited with code 2, pwhash_argon2i fails HOT 3
- NPM install fails with node-gyp error: cannot use a string pattern on a bytes-like object
- package install errors HOT 3
- How to pre-build Node Sodium?
- install.js support vs2019 please HOT 1
- Installing on Windows Failed HOT 1
- Way to use exists keypair which generated in Java HOT 1
- libbtool/libsodium not installing on Petrodctyle panel
- ed25519 decode / decompress HOT 1
- Cannot install with yarn berry
- Can't install sodium, please help me (Windows) HOT 1
- Does not compile on Linux ARM. HOT 6
- Is this library still maintained?
- Can't Install (Windows) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sodium.