refactor(digital-certificate): return certificate parse results#30
refactor(digital-certificate): return certificate parse results#30Yorizel wants to merge 1 commit into
Conversation
|
Warning Rate limit exceeded
To continue reviewing without waiting, purchase usage credits in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Summary
Validation
Summary by cubic
Refactors certificate parsing to return
neverthrowresults and adds CPF/CNPJ extraction from ICP‑Brasil Subject Alternative Name. Also migrates the build tobunup.Refactors
parseCertificatenow returnsResultAsync<CertificateInfo, CertificateParseError>;parseCertificateFromDerreturnsResult<CertificateInfo, CertificateParseError>.otherNameOIDs insubjectAltNameand normalizes CPF/CNPJ;CertificateInfonow includessubjectAltName.bunup; addedneverthrow; bumped@f-o-t/asn1and@f-o-t/crypto.Migration
isErr()andvalue/errorforparseCertificate(ResultAsync) andparseCertificateFromDer(Result).Written for commit 5a5a06d. Summary will update on new commits.