Skip to content

PIV: Improve certificate output format selection #737

@robin-nitrokey

Description

@robin-nitrokey

There are some issues with the current implementation:

  • generate-key does not have an option to configure the CSR output format (PEM/DER).
  • If --path is not set, generate-key prints the CSR to stdout as DER.

At least when printing to stdout, we should default to PEM instead. I would also be in favor to have PEM as the default output format because it can always be handled correctly and, if necessary, be easily converted to DER, while it is harder to handle DER data e. g. with copy and paste.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions