Skip to content

x/crypto/openpgp: Allow passing user specified key size to NewEntity #6693

@gopherbot

Description

@gopherbot

by jirkadanek7:

Function NewEntity in
http://code.google.com/p/go/source/browse/openpgp/keys.go?repo=crypto#399 uses an
unexported constant defaultRSAKeyBits specifying the key length without the possibility
for the caller to provide a different value.

I expect to be able to be able to specify this value myself when calling the function.

Here is a StackOverflow question from somebody who had the same problem
http://stackoverflow.com/questions/15474334/openpgp-and-golang

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions