Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

ED25519 key generation impossible #3123

Closed
tfoutrein opened this issue Jun 25, 2020 · 2 comments
Closed

ED25519 key generation impossible #3123

tfoutrein opened this issue Jun 25, 2020 · 2 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@tfoutrein
Copy link

  • Version:
    {"version":"0.46.0","repo":7,"commit":""}

  • Platform:
    Linux DESKTOP-21GI717 4.4.0-20150-Microsoft Read file error on Windows #1000-Microsoft Thu Jun 12 17:34:00 PST 2020 x86_64 GNU/Linux

  • Subsystem:
    KEY

Severity:

High

Description:

  • What I did
    const key1 = await this._node.key.gen('tata', {type : 'ed25519'})
  • What happened
    TypeError: keypair.export is not a function
  • What you expected to happen
    get the key, if i try without the type , there is no problem

Steps to reproduce the error:

just do const key1 = await this._node.key.gen('tata', {type : 'ed25519'})

@tfoutrein tfoutrein added the need/triage Needs initial labeling and prioritization label Jun 25, 2020
@welcome
Copy link

welcome bot commented Jun 25, 2020

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@achingbrain
Copy link
Member

js-ipfs doesn't support ED25519 keys yet, though support is going to land pretty soon.

Duplicate of #2553 - please see libp2p issues linked from there for further reading and timelines.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants