Comments (5)
@vasco-santos Thank you form Russia and our team)
from js-ipns.
Hey @darkrain
Can you confirm me that you are using [email protected]
?
from js-ipns.
Hey @darkrain
Can you confirm me that you are using
[email protected]
?
Yep
from js-ipns.
So, the problem is that [email protected]
uses the newest async API:
https://github.com/libp2p/js-libp2p-crypto/blob/master/CHANGELOG.md#features
In this context, when you do generateKeyPair
, the resulting keys will have the sign
function, which uses the new API. This way, js-ipns
tries to sign using the oldest libp2p-crypto
API, that is, using a callback. If you check the package.json
in this repo, you can see that we have [email protected]
, which still works on a callback way.
TLDR: we are on a process of refactoring all our codebase to use an async API and get rid of callbacks.
Apparently, all the blocking dependencies to get this module refactored are already merged and released, so we will move with ipfs/js-ipns#19, which will fix this issue for you
from js-ipns.
@darkrain just released the new version of [email protected]
.
Will close the issue now, but let me know if this did not solve your problem
from js-ipns.
Related Issues (20)
- Too many dependencies
- [Error] "callback is required" when using IPFS private key HOT 1
- Why does `extractPublicKey` require a `PeerId`? HOT 2
- fails silently (given invalid pubkey) HOT 4
- example doesn't work with PeerId HOT 3
- Code got stuck on `ipns.create` method HOT 2
- Test failures HOT 4
- Publish to network - example HOT 2
- Quick question HOT 1
- Generating IPNS ID with IPFS hash HOT 2
- Package require does not work HOT 2
- Fail validation if record over max size HOT 1
- subscribe to ipns record changes HOT 2
- Broken examples in README HOT 3
- (bug)signatureV1 vs signature HOT 2
- feature request: support extensible data fields HOT 5
- bug: nanoseconds HOT 1
- EmbedPublicKey from readme does not run and is missing from codebase HOT 1
- Validator and validate code example do not work
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 js-ipns.