Traversio

1.0.1

Release notes for Traversio 1.0.1.

Released: 2026-05-27

Summary

Traversio 1.0.1 is a source-compatible update for applications that need to accept migrated or user-imported private keys. It keeps the strict OpenSSH-specific helpers and adds a broader privateKeyPEM(...) import path.

API Changes

Added authentication helpers:

  • SSHAuthenticationMethod.privateKeyPEM(_:passphrase:)
  • SSHAuthenticationMethod.privateKeyPEM(contentsOfFile:passphrase:)

These helpers accept:

  • OpenSSH openssh-key-v1 private keys
  • unencrypted PKCS#8 PRIVATE KEY PEM containers for Ed25519, RSA, and ECDSA
  • unencrypted traditional EC PRIVATE KEY PEM containers
  • traditional RSA PRIVATE KEY PEM containers
  • passphrase-encrypted traditional RSA PEM when it uses supported OpenSSL legacy AES-CBC or DES-EDE3-CBC headers

SSHAuthenticationMethodError also exposes readable localized descriptions, so direct authentication input failures are easier to show in import and setup flows.

Validation

The OpenSSH matrix now includes real login targets for:

  • OpenSSL Ed25519, RSA, and ECDSA PKCS#8 keys
  • traditional RSA and EC PEM keys
  • encrypted traditional RSA PEM
  • traditional RSA PEM with explicit legacy ssh-rsa userauth

Not Included

Encrypted PKCS#8 ENCRYPTED PRIVATE KEY and encrypted traditional EC PEM loading are not included in this release.

On this page