返回 Discover
Field DispatchHacker News9 · 2026-05-31

wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack

github.com

Points
15
Comments
0
日榜排名
#9
Host
github.com
痛点分析发布于 2026/05/30

痛点为 AI 基于上游原始证据的初步提炼;未包含额外中国市场检索。

痛点

嵌入式系统开发者需要实现COSE(CBOR Object Signing and Encryption)协议以保护IoT设备间的通信,但现有方案要么依赖动态内存分配(不适合资源受限环境),要么需要手动集成多个库并处理复杂的加密后端适配。wolfCOSE虽然宣称零分配、支持PQC和FIPS 140-3,但用户必须额外集成wolfSSL作为加密后端,且旧版本需要源码级修改才能兼容,这增加了集成难度和版本锁定风险。对于追求DO-178或MISRA C认证的航空/汽车领域,这种依赖关系可能导致认证成本上升和供应链审查负担。

External Article

External article summary

A fast, portable, and lightweight COSE + CBOR implementation for embedded systems. Supports PQC, FIPS 140-3, DO-178, and MISRA C. Powered by wolfSSL. - wolfSSL/wolfCOSE

External Article

External article source

Article title
GitHub - wolfSSL/wolfCOSE: A fast, portable, and lightweight COSE + CBOR implementation for embedded systems. Supports PQC, FIPS 140-3, DO-178, and MISRA C. Powered by wolfSSL.
Host
github.com
源数据· Raw Archive
source
Hacker News
upstream_source
hacker_news
upstream_item_id
48340422
daily_ranking_item_id
dbd2db7c-ad0b-47f0-8f99-0bf3ed2259f1
rank_date
2026-05-31
rank
9
name
wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack
tagline
github.com
votes_count
15
comments_count
0
created_at_on_source
2026-05-30T20:42:28.000Z
media / source-specific data
{
  "author": "aidangarske",
  "hn_item_id": 48340422,
  "external_url": "https://github.com/wolfSSL/wolfCOSE"
}
raw_payload
{
  "by": "aidangarske",
  "id": 48340422,
  "url": "https://github.com/wolfSSL/wolfCOSE",
  "time": 1780173748,
  "type": "story",
  "score": 15,
  "title": "wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack",
  "descendants": 0
}
source_raw_snapshot
{
  "id": "887b67af-2afe-4138-995c-07b246c538d4",
  "daily_ranking_item_id": "dbd2db7c-ad0b-47f0-8f99-0bf3ed2259f1",
  "source": "hacker_news",
  "external_id": "48340422",
  "fetched_at": "2026-05-30T22:01:15.405Z",
  "story_raw": {
    "by": "aidangarske",
    "id": 48340422,
    "url": "https://github.com/wolfSSL/wolfCOSE",
    "time": 1780173748,
    "type": "story",
    "score": 15,
    "title": "wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack",
    "descendants": 0
  },
  "stats_raw": {
    "time": 1780173748,
    "score": 15,
    "descendants": 0
  },
  "aux_raw": {
    "external_url": "https://github.com/wolfSSL/wolfCOSE",
    "hn_comment_url": "https://news.ycombinator.com/item?id=48340422",
    "normalized_text": null,
    "external_article": {
      "title": "GitHub - wolfSSL/wolfCOSE: A fast, portable, and lightweight COSE + CBOR implementation for embedded systems. Supports PQC, FIPS 140-3, DO-178, and MISRA C. Powered by wolfSSL.",
      "excerpt": "wolfCOSE is a lightweight C library implementing CBOR (RFC 8949) and COSE (RFC 9052/9053) using wolfSSL as the crypto backend.\n\nSigning: ES256, ES384, ES512, EdDSA (Ed25519/Ed448), PS256/384/512, ML-DSA-44/65/87\n\nEncryption: AES-GCM (128/192/256), ChaCha20-Poly1305, AES-CCM variants\n\nKey Distribution: Direct, AES Key Wrap, ECDH-ES+HKDF\n\nwolfCOSE has implemented all RFC 9052 messages both single-actor and multi-actor variants:\n\nwolfCOSE requires wolfSSL as its crypto backend. Minimum supported version: v5.8.0-stable (first release with the public wc_ForceZero symbol alongside the FIPS 204 final ML-DSA and context-aware wc_dilithium_*_ctx_msg APIs). Older 5.x releases can technically be supported but require source-level changes; contact wolfSSL for commercial support.\n\nChoose a build configuration based on the algorithms you need.\n\nThis gives you COSE Sign1 (ES256/384/512) and Encrypt0 (AES-GCM):\n\nAlgorithms enabled: ES256, ES384, ES512, AES-GCM-128/192/256\n\nFor pure post-quantum signing with ML-DSA-44/65/87:\n\nAlgorithms enabled: ML-DSA-44, ML-DSA-65, ML-DSA-87 (SHAKE-128/256 are pulled in automatically by --enable-dilithium .)\n\nSee examples/ for complete working code:\n\nFull documen",
      "final_url": "https://github.com/wolfSSL/wolfCOSE",
      "fetched_at": "2026-05-30T22:01:12.856Z",
      "description": "A fast, portable, and lightweight COSE + CBOR implementation for embedded systems. Supports PQC, FIPS 140-3, DO-178, and MISRA C. Powered by wolfSSL. - wolfSSL/wolfCOSE"
    },
    "selected_comments": [],
    "presentation_fields": {
      "title": "wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack",
      "tagline": "github.com",
      "website_url": "https://github.com/wolfSSL/wolfCOSE",
      "canonical_url": "https://news.ycombinator.com/item?id=48340422"
    },
    "external_url_hostname": "github.com",
    "selected_comments_raw": []
  },
  "selection_meta": {
    "discussion_depth": "story_only",
    "external_article": {
      "status": "ok",
      "final_url": "https://github.com/wolfSSL/wolfCOSE",
      "status_code": 200,
      "content_type": "text/html; charset=utf-8",
      "failure_reason": null
    },
    "snapshot_version": "hn_story_v3",
    "selected_comments_count": 0,
    "external_article_resolved": true,
    "text_normalization_applied": false
  },
  "created_at": "2026-05-30T22:01:15.652Z",
  "updated_at": "2026-05-30T22:01:15.652Z"
}