Upgrading to modern SSH and PGP keys
This is our guide for replacing an RSA key with a modern key type, such as Ed25519, on any connection with TPA Stream. It covers every kind of connection: SFTP in both directions, PGP, and our API. Each section gives the exact steps and the keys you need.
We recommend the modern key types for new connections, and we are moving our own connections from RSA to them over time as routine hardening. RSA keys continue to work in the meantime. You can move one connection at a time, nothing stops working while you do, and we contact you directly before anything changes for a connection of yours.
Find your situation in the table, then follow that section.
| Area | We recommend | Also supported |
|---|---|---|
| Your key for our SFTP server | Ed25519 | ECDSA, RSA |
| Our key for your SFTP server | Ed25519 | ECDSA NIST P-256, RSA 2048 (our original key) |
| Our PGP key for files you encrypt | Ed25519 with Curve25519 | NIST P-384, RSA 4096 (our original key) |
| Our PGP signature on files we send | Ed25519 | NIST P-384, RSA 4096 (our original key) |
| Your key for our API | Ed25519 | ECDSA, RSA |
| Our signature on webhooks | Ed25519 (TPAStream-Signature-Ed25519 header) | RSA (TPAStream-Signature header, still sent) |
| SFTP session encryption | Curve25519 key exchange with AES-GCM ciphers | See the full list, which also covers a few older options we are phasing out |
| HTTPS | ECDSA certificates, already in place on every TPA Stream hostname |
Download links and fingerprints for every key are on Our public keys.
You upload to or download from our SFTP server
Our SFTP server is sftp.data.tpastream.com, port 22. It accepts
Ed25519, ECDSA and RSA login keys. To set up or switch to a modern
key:
-
Create an Ed25519 key on the system that connects to us:
ssh-keygen -t ed25519 -f ~/.ssh/tpastream_ed25519If your software cannot use Ed25519, create an ECDSA key instead:
ssh-keygen -t ecdsa -b 256 -f ~/.ssh/tpastream_ecdsaIf your SFTP software creates keys itself, choose Ed25519 in its key settings, or ECDSA if it does not offer Ed25519.
-
Send the public key to support@tpastream.com, with the login name you use on our server. The public key is the
.pubfile, one line that starts withssh-ed25519orecdsa-sha2-nistp256. Never send the private key. -
We add the new key beside your current key and tell you when it is in place. Your current key keeps working.
-
Switch your software to the new key and connect.
-
Tell us that the new key works.
-
We remove your old key from your login and confirm.
Encryption settings
We are updating the encryption settings on our SFTP server, in line with our hosting provider's current recommended list. We contact each partner before the change. Your client needs at least one option from each group below, and current SFTP software already has them. You can ask us at any time to check your connection.
Options we support and will keep:
| Group | Options |
|---|---|
| Key exchange, added with the update (post-quantum hybrids) | mlkem768x25519-sha256, mlkem768nistp256-sha256, mlkem1024nistp384-sha384 |
| Key exchange, available today | curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group-exchange-sha256 |
| Ciphers | aes128-gcm@openssh.com, aes256-gcm@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr |
| Message authentication | hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com |
Message authentication applies only to the CTR ciphers. The GCM ciphers do not use a separate message authentication option.
Older options that the update phases out:
| Group | Options |
|---|---|
| Key exchange | diffie-hellman-group14-sha256, diffie-hellman-group14-sha1 |
| Ciphers | chacha20-poly1305@openssh.com |
| Message authentication | hmac-sha1, hmac-sha1-etm@openssh.com, hmac-sha2-256, hmac-sha2-512 (the forms without etm), and all umac-* options |
| Host key signature | ssh-rsa (SHA-1). After the update, our server offers its host key with rsa-sha2-256 and rsa-sha2-512 signatures only. |
Host key changes, if any, will be announced on this page and to each partner in advance.
Test your connection
With the OpenSSH command-line client, connect with verbose output:
sftp -v -i ~/.ssh/tpastream_ed25519 your-login@sftp.data.tpastream.com
Look for the lines that name what your client and our server agreed on, for example:
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: aes128-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: aes128-gcm@openssh.com MAC: <implicit> compression: none
Check each value against the tables above. To check that a connection works with only the options we keep, limit the client to them:
sftp -v -i ~/.ssh/tpastream_ed25519 \
-o KexAlgorithms=curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256 \
-o Ciphers=aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr \
-o MACs=hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com \
-o HostKeyAlgorithms=rsa-sha2-512,rsa-sha2-256 \
your-login@sftp.data.tpastream.com
If the client and server have no option in common, OpenSSH stops with
a message such as no matching key exchange method found or
no matching cipher found.
Notes for SFTP software
- Current versions of OpenSSH, and of most SFTP clients and managed file transfer products, support these options. If your connection runs on an older version, update to a current version.
- If your software lets you choose algorithms, make sure at least one option from each group in the first table is turned on.
- If your software logs the algorithms it negotiates, that log shows the same information as the OpenSSH test above.
We log in to your SFTP server
When TPA Stream delivers or collects files on your SFTP server, we log in with our SSH key. We have two new keys:
| Key | When to use it | Fingerprint |
|---|---|---|
tpastream_sftp_ed25519.pub | Recommended | SHA256:VTMgza5inttqJPLm3slSxbMpMRQUQEfsi6+Dq5peJbA |
tpastream_sftp_ecdsa.pub | If your server cannot accept Ed25519 | SHA256:SCK5QiHhOYxtHDquoWcAYl64JhKndhCsJ3kf3+WIvvY |
Each key is also available in SSH2 (RFC 4716) format for software that needs it. See Our public keys.
-
Download the key you chose and check its fingerprint:
ssh-keygen -lf tpastream_sftp_ed25519.pub -
Add it to the account we log in to. If our RSA key is already installed there, add the new key beside it and leave the RSA key in place for now.
cat tpastream_sftp_ed25519.pub >> ~/.ssh/authorized_keysIf your SFTP product manages keys in its own settings, add the new key there as a second key for the same account.
-
Tell support@tpastream.com which key you installed, and the host name and login of the connection.
-
We switch that connection to the new key, run a transfer, and confirm with you. If we have more than one connection to you, we can switch them one at a time.
-
After we confirm, you can remove our RSA key. In
authorized_keysit is the line that starts withssh-rsaand has the fingerprintSHA256:JyPGk56B85dTIHl3kwqDCjYEF8f3XJcafmJwWIR72wU. To print the fingerprint of every line in the file:ssh-keygen -lf ~/.ssh/authorized_keys
We never need you to remove the old key first. If your firewall limits who can connect, our addresses are listed under Egress IP addresses. They do not change when the key changes.
You encrypt files for us with PGP
We have two new PGP keys:
| Key | When to use it | Primary key fingerprint |
|---|---|---|
tpastream_pgp_2026.asc | Recommended | 326C 7033 372C 2CCB BAE7 E491 8602 BF73 BC4C ACC1 |
tpastream_pgp_2026_nistp384.asc | If your software cannot use Curve25519 | 2297 9DAE 29EA A218 B43E CE4A 3146 3809 5309 6D4E |
Both are OpenPGP version 4 keys with AES and SHA-2 preferences, and they work with current versions of GnuPG. If your software cannot read the recommended key, use the NIST P-384 key, which older and commercial OpenPGP products support more widely.
-
Import the key you chose:
gpg --import tpastream_pgp_2026.asc -
Check its fingerprints against Our public keys:
gpg --show-keys --with-fingerprint --with-subkey-fingerprint tpastream_pgp_2026.asc -
Encrypt to the new key by its fingerprint:
gpg --encrypt --recipient 326C7033372C2CCBBAE7E4918602BF73BC4CACC1 \--output members.csv.gpg members.csvFor the NIST P-384 key, use
22979DAE29EAA218B43ECE4A3146380953096D4E.
Use the fingerprint, not the email address. Our keys share
the address dev@tpastream.com, so --recipient dev@tpastream.com can
match more than one key.
No coordination is needed. We decrypt files encrypted to any of our published keys. You can switch whenever you want, and you do not need to tell us.
You verify our PGP signature
If your deliveries from us are signed, your software checks the signature with our public key.
-
Import the new key you want us to sign with, as in the section above. Keep our current key imported.
-
Tell support@tpastream.com which new key you imported.
-
We switch the signing key for your deliveries and tell you when.
-
Check the next file. When you decrypt it, GPG names the new key:
gpg: Good signature from "TPA Stream (2026) <dev@tpastream.com>"For the NIST P-384 key, the name is
TPA Stream (2026, NIST P-384).
You call our API with an SSH key
Our API accepts Ed25519, ECDSA and RSA keys for signed requests, and we recommend Ed25519. To create a key, or to switch from an RSA key, see Generating an SSH Key.
You verify our webhook signature
Every webhook we send carries two signatures, in two headers:
TPAStream-Signature-Ed25519is signed with our Ed25519 key. We recommend it for new integrations.TPAStream-Signatureis signed with our RSA key. It remains valid and continues to be sent, exactly as before.
Both headers are sent on every webhook, so you can verify either one. To use the Ed25519 signature:
- Download
tpastream_sftp_ed25519.pubfrom Our public keys and check its fingerprint. - Verify the JWT in the
TPAStream-Signature-Ed25519header with that key, using theEdDSAalgorithm. A Python example is on Webhook Security.
No coordination is needed. You can switch whenever you want, with no downtime, and you do not need to tell us.
Why the modern key types
Ed25519 and ECDSA are elliptic-curve keys. They have been the default for new keys in OpenSSH and GnuPG for several years. They are much smaller than RSA keys of comparable strength, so keys and signatures are shorter and signing is faster. Offering them alongside RSA lets each partner use what their own security policy prefers.
Timing
This page sets no deadline. Switch when it suits you. If we plan a change that affects one of your connections, we tell you directly and work around your schedule. Our RSA keys remain available.
Questions
Contact TPA Stream support at support@tpastream.com. We can check a connection with you, or switch one at a time.