mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
- Import PuTTY's private key files, versions 2 and 3 (with their passphrase), their comment kept as the key's - Export as .ppk version 3 (Argon2id, AES-256-CBC, HMAC-SHA-256, as PuTTYgen 0.75+ writes them) or version 2 (for older PuTTY and WinSCP), with or without a passphrase; chosen in the export dialog beside OpenSSH's form - Imported RSA keys that come without their primes (sshj reads .ppk ones so) made whole again from n, e and d: Android's provider wouldn't encode them, so they couldn't be kept - Tested against puttygen: every key type, both versions, with and without a passphrase, read by puttygen (MAC and decryption checked) and converted back to the same private key; puttygen's own keys imported; a wrong passphrase refused. CI installs putty-tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs