PeculiarVentures / asn1-schema

asn1-schema is a collection of TypeScript schemas that make working with common ASN.1 objects easy
32 stars 11 forks source link

Post quantum certificates #91

Closed microshine closed 1 year ago

microshine commented 1 year ago

This pull request adds two new packages to the project: @peculiar/asn1-rfc5958 and @peculiar/asn1-x509-pq.

@peculiar/asn1-rfc5958 provides ASN.1 schema definitions for the asymmetric key packages format specified in RFC5958. This format is used to encapsulate private and public keys, along with additional parameters and metadata, for a variety of asymmetric key algorithms. The package is designed to be lightweight and easy to use, while still providing all of the necessary functionality for working with the format.

@peculiar/asn1-x509-pq provides ASN.1 schema definitions for composite public and private keys and composite signatures used in Internet Public Key Infrastructure (PKI), as specified in the following IETF drafts:

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4407090580


Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/asym-key/src/index.ts 19 21 90.48%
<!-- Total: 46 48 95.83% -->
Totals Coverage Status
Change from base Build 3418485408: 0.1%
Covered Lines: 2527
Relevant Lines: 2786

💛 - Coveralls
ounsworth commented 1 year ago

Great to see our drafts getting actually used! Any trouble in implementing it, or suggestions for the drafts?

johngray-dev commented 1 year ago

Great to see this being added! We just posted an updated to the composite drafts yesterday which adds 'explicit composite support'. Essentially using Object ID's to identify pairs of algorithms in composite form which are most likely to be used together. You are welcome to post artifacts to our artifact repository at https://github.com/IETF-Hackathon/pqc-certificates for interoperability testing. Let me know if you want to be added to the github repository.