letsencrypt / letsencrypt/boulder

Create OID package

Open
#6,986 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

starter
Dominant language
Go
Stars
5.8k
Forks
649
Avg merge
3d 23h
Merged PRs (30d)
24

Description

There are many OIDs spinkled throughout boulder such as the following snippet. We should build a package that defines OIDs by class similar to how pyca/cryptography handles them.

//ca/crl.go: asn1.ObjectIdentifier{2, 5, 29, 28}
//cmd/ceremony/cert.go: var oidOCSPNoCheck = asn1.ObjectIdentifier{1, 3, 6, 1, 5, 5, 7, 48, 1, 5}
//wfe2/wfe.go: asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 2, 1}
etc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the OID literals in ca/crl.go, cmd/ceremony/cert.go, and wfe2/wfe.go, then review the referenced pyca/cryptography _oid.py approach. Define the package structure and identify the scattered OIDs it should cover; done means OIDs are represented centrally by class rather than repeated inline.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.