·
swiftios-devopen-sourcememory-securityappsec

SecretMemory: A Tiny Swift Package for Wipeable Secrets

Short-lived secret bytes should not hang around longer than necessary. SecretMemory is a small Swift Package that makes the secure path the easy path for login forms, one-time tokens, and crypto material.

Tiny open-source drop from my side: SecretMemory.

It's a small Swift Package for short-lived secret bytes that should not hang around longer than necessary.

What it gives you:

  • @Secret for wipeable secret storage
  • SecretHandle for explicit byte access
  • zeroize() when you're done
  • overwrite-on-replacement and deinit wiping

What it does not try to be:

  • a Keychain replacement
  • magic security armor
  • a promise that secrets never existed anywhere else

The goal is simple: make the secure path the easy path for things like login forms, one-time tokens, and short-lived crypto material.

Small package. Real problem. Fewer excuses.

https://github.com/boska/SecretMemory

#Swift #iOSDev #OpenSource #Security #AppSec