Agent Skills › google/boringssl › add-object-nid-oid

add-object-nid-oid

GitHub

指导如何在BoringSSL中添加新的ASN.1对象(NID/OID)。包括更新objects.txt定义文件,并从crypto/obj目录运行生成器脚本以重建相关的头文件和查找表。

agents/skills/add_object_nid_oid/SKILL.md google/boringssl

Trigger Scenarios

需要向BoringSSL添加新的OID或NID 执行BoringSSL代码库中的对象定义更新流程

Install

npx skills add google/boringssl --skill add-object-nid-oid -g -y
More Options

Non-standard path

npx skills add https://github.com/google/boringssl/tree/main/agents/skills/add_object_nid_oid -g -y

Use without installing

npx skills use google/boringssl@add-object-nid-oid

指定 Agent (Claude Code)

npx skills add google/boringssl --skill add-object-nid-oid -a claude-code -g -y

安装 repo 全部 skill

npx skills add google/boringssl --all -g -y

预览 repo 内 skill

npx skills add google/boringssl --list

SKILL.md

Frontmatter
{
    "name": "add-object-nid-oid",
    "description": "How to add a new object with a NID and\/or OID to BoringSSL."
}

Adding a New NID or OID

To add a new ASN.1 object (with a NID and/or OID) to BoringSSL, you must add it to the objects definition file and regenerate the generated headers and lookup tables.

Refer to crypto/obj/README.md for an overview of the generated files.

Steps

  1. Update objects.txt:

  2. Regenerate Files:

    • The generator script crypto/obj/objects.go must be run from the crypto/obj directory because it relies on relative paths for its inputs and outputs.
    • Run the following command:
      cd crypto/obj && go run objects.go
      
    • This will update obj_mac.num (to stabilize NIDs), obj_dat.h, and include/openssl/nid.h.

Version History

  • 179af5a Current 2026-08-20 19:54

Same Skill Collection

agents/skills/add_source_file/SKILL.md
agents/skills/run_ssl_go_tests/SKILL.md
agents/skills/update_pregenerated_files/SKILL.md
agents/skills/add_error_code/SKILL.md
agents/skills/build_and_test/SKILL.md

Metadata

Files
0
Version
5112448
Hash
a69ea44f
Indexed
2026-08-20 19:54

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-05 17:57
浙ICP备14020137号-1