Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What is the equivalent of the web function for on this library? #105

Open
@sagark1510

Description

In one of my project I need to generate public, private key using openpgp.. the thing is it has specific format to generate keys for web. But on mobile I'm not sure how to replicate this using fast openpgp library.

Web version:

const generatedKeys = await openpgp.generateKey({
 type: 'ecc',
 curve: 'curve25519',
 userIDs: [{ alias }],
 passphrase: '',
 format: 'armored',
 });

What would be the generate function arguments to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /