AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Mbedtls Integration

skill-easyzoom-aix-skills-mbedtls-integration · by easyzoom

Use when integrating, porting, configuring, or debugging mbedTLS on MCU projects, TLS handshakes, certificates, entropy, RNG, memory, or secure embedded transports

No reviews yet
0 installs
39 views
0.0% view→install

Install

$ agentstack add skill-easyzoom-aix-skills-mbedtls-integration

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-easyzoom-aix-skills-mbedtls-integration)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mbedtls Integration? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

mbedTLS Integration

Overview

Use this skill to integrate mbedTLS on embedded targets by proving entropy/RNG, time, certificate storage, transport I/O, and memory configuration before debugging application protocols. TLS failures often come from platform hooks rather than cryptography logic.

When To Use

Use this skill when:

  • The user wants TLS, HTTPS, MQTT over TLS, DTLS, X.509, crypto, or secure boot-related primitives using mbedTLS.
  • The issue involves handshake failure, certificate validation, entropy source, RNG, memory allocation, time validity, or socket callbacks.
  • The target is resource-constrained or has hardware crypto/TRNG.

Do not use this skill for generic networking before TCP/IP works. Use lwip-integration first when connectivity is unproven. For lightweight ECC-only operations, use micro-ecc-integration or tinycrypt-integration.

First Questions

Ask for:

  • mbedTLS version, target MCU/RTOS, compiler, and network stack.
  • Use case: TLS client, TLS server, DTLS, crypto only, MQTT TLS, HTTPS, or certificate parsing.
  • mbedtls_config.h, enabled features, heap/static allocation policy, and hardware crypto use.
  • Entropy/RNG source and time source.
  • Certificate chain model, CA storage, SNI/hostname verification, and current error code.

Integration Checklist

  1. Prove entropy and RNG.

TLS requires a real entropy source. Do not ship deterministic test entropy.

  1. Configure time.

Certificate validation needs valid time or an explicit product policy for time-less validation.

  1. Bound memory.

Configure record size, heap, I/O buffers, certificate features, and algorithms for MCU limits.

  1. Connect transport callbacks.

Network send/recv callbacks must handle non-blocking, timeout, and partial I/O correctly.

  1. Validate certificates.

Use CA chain, hostname/SNI, and expected verification policy. Do not disable verification silently.

  1. Decode error codes.

Convert negative mbedTLS errors to readable names before guessing.

Common Failures

  • Handshake fails because time is unset.
  • Certificate verification is disabled to "make it work".
  • Entropy source is weak or not initialized.
  • Heap is too small for certificate chain or record buffers.
  • Socket callbacks treat timeout as fatal or ignore partial writes.
  • SNI hostname does not match broker/server certificate.

Verification

Before claiming mbedTLS works:

  • State use case, mbedTLS version, entropy source, time source, and memory policy.
  • Confirm a handshake to the target server with certificate verification enabled, unless explicitly out of scope.
  • Report decoded error codes for failures.
  • Confirm secrets, private keys, and certificates are not logged.
  • Confirm memory usage fits the target.

Example

User:

MQTT 加 mbedTLS 后握手失败。

Agent:

  1. Asks for mbedTLS error code, config, entropy/time source, broker certificate, SNI, and heap size.
  2. Decodes the error and checks time/certificate verification before MQTT logic.
  3. Verifies TLS connect before MQTT connect.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.