Asleep

Openssl

運維安全v1.0.0
作者:Asleep更新於 2026-05-11openssl@clawhub_asleep123/openssl
安全掃描配置生成

據 AlphaMoat 統計,截至 2026-09,Openssl 累計下載 3,188 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 3,576 位,在「運維安全」分類(264 個)中排名第 235 位。

累計安裝
145
累計下載
3188
星標
1
全站排名
#3,576
全站前 71% · 「運維安全」前 90%
平台累計安裝累計下載星標評論
ClawHub ↗10331151-
SkillHub ↗14531881—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

生成的秘密應在本地審查並存入預定的秘密管理流程,不要輸出到日誌、命令歷史或共享聊天記錄。示例中的短 PIN 命令可能不適用於身份認證或帳戶恢復場景。 需要 OpenSSL;需要 PIN 時應改用定長無偏生成方式。

資料釋出於 2026-10-29

可以用來做什麼

  • 生成隨機密碼或 API key
  • 按用途生成會話令牌或其他安全隨機值
  • 將結果交由本地秘密管理工具儲存

什麼時候用

  • 需要本地生成密碼或令牌時
  • 能避免結果進入日誌、歷史或共享聊天時
  • 為認證或恢復流程選擇了足夠強度且有速率限制和過期機制時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

說明如何在本地生成並儲存一個隨機 API key,提醒不要把結果寫入日誌或聊天;不要執行命令或生成秘密。

月度資料趨勢

累計下載3188
2201273132612026-03 · 累計下載 22742026-05 · 累計下載 26112026-06 · 累計下載 27442026-07 · 累計下載 29422026-08 · 累計下載 30292026-09 · 累計下載 318826-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093188—1
2026-083029+3.0%1
2026-072942+7.2%1
2026-062744+5.1%1
2026-052611—1
2026-032274—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

1.1 KB · ClawHub v1.0.0
---
name: openssl
description: Generate secure random strings, passwords, and cryptographic tokens using OpenSSL. Use when creating passwords, API keys, secrets, or any secure random data.
---

# OpenSSL Secure Generation

Generate cryptographically secure random data using `openssl rand`.

## Password/Secret Generation
展開全部(共 38 行)

```bash
# 32 random bytes as base64 (43 chars, URL-safe with tr)
openssl rand -base64 32 | tr '+/' '-_' | tr -d '='

# 24 random bytes as hex (48 chars)
openssl rand -hex 24

# alphanumeric password (32 chars)
openssl rand -base64 48 | tr -dc 'a-zA-Z0-9' | head -c 32
```

## Common Lengths

| Use Case | Command |
|----------|---------|
| Password (strong) | `openssl rand -base64 24` |
| API key | `openssl rand -hex 32` |
| Session token | `openssl rand -base64 48` |
| Short PIN (8 digits) | `openssl rand -hex 4 | xxd -r -p | od -An -tu4 | tr -d ' ' | head -c 8` |

## Notes

- `-base64` outputs ~1.33x the byte count in characters
- `-hex` outputs 2x the byte count in characters
- Pipe through `tr -dc` to filter character sets
- Always use at least 16 bytes (128 bits) for secrets

「運維安全」分類下的熱門技能

Asleep 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。