Skip to content

Consider changing database certificate storage type #5918

Open
@augustuswm

Description

@augustuswm

Certificates are currently accepted and returned as PEM encoded strings, but in the database we store them as bytes. If we are always going to used a string based format, we may want to change our database representation. Though if we intend to accept other formats and serialize an enum of types to a binary form we may not want to change this.

-- cert.pem file (certificate chain in PEM format) as a binary blob
cert BYTES NOT NULL,
-- key.pem file (private key in PEM format) as a binary blob
key BYTES NOT NULL

Reference: #5078

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseRelated to database access

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions