Skip to content

Create TLS cert arbitraries for testing #8

Closed
@tegefaulkes

Description

@tegefaulkes

Specification

We want the ability to generate the TLS cert chain and private key PEMs for testing. We should also create fast-check arbitraries for this.

We need to replicate the KeyPair generation, x509 certificate creation and PEM format from the Polykey methods. Since these will be used for testing, the types can be striped down to primitives and any extra information can be as placeholder as possible. Refer to the keys domain in Polykey for how these are created.

Additional context

Tasks

  1. Create simplified method for generating key pairs.
  2. Create simplified method for generating x509 certificates
  3. Create simplified method for generating cert chain and private key PEM formats.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions