|
|
create a base64 representation of the binary file:
openssl enc -e -base64 -in /path/to/binary.pfx
create a binary file from its base64 representation:
cat | openssl enc -d -base64 -out /path/to/binary.pfx
The first command will put the ASCII representation of the file to stdout. The second command will accept the ASCII representation of the binary file and write it to the -out path. Once you paste in the ASCII to the second command, press ctrl-d once or twice to write the binary data out.
You might want to verify some hashes of the file on both sides:
md5sum /path/to/binary.pfx
Source: https://foxhop.net/f3f358a2-2f95-11f1-b765-e86a64d24d78/teleport-a-binary-file-with-base64
Snapshot: 2026-05-25T08:03:54Z
Generator: Remarkbox 1527ef7