Skip to content

Releases

safedatatransfer 0.2.1

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 28 Nov 18:16

See what you received, right away

After a drop, you now see at once what arrived and where it was saved. You also get a preview, without opening anything.

In the UI (tab 4)

  • The RECEIVED list fills while the transfer runs. Each file appears as soon as it is saved and verified, with its kind and size.
  • PREVIEW: pick a file with the arrow keys to see a picture of photos, videos, PDFs and Office files, or the first lines of a text file. You also see the size, the date and the full "Saved at" path.
  • v / Enter shows it large. t opens Explorer with the file selected.

Command line and sdt.exe

  • sdt drop receive ends with a list of every file: its kind, size, details (e.g. 3024 × 4032 pixels) and the folder. With 3 files or fewer, previews are drawn in the terminal. --no-preview turns them off.
  • New: sdt preview FILE shows any file the same way. Given a folder, it lists the files in it.

Safety

  • A preview never opens or runs the file.
  • Pictures are the same thumbnail Explorer shows, read through the Windows shell. No new packages are needed.
  • Thumbnails are only made for known photo, video and document types. They are never made for shortcut-like files (.lnk, .url, .scf), whose icon can point to another computer.
  • Text is cleaned of control characters, so a received file can't send escape codes to your terminal.
  • Programs and scripts get a warning instead of a preview.

Both PCs can stay on 0.2.0 for transfers: the protocol is unchanged. Only the receiving PC needs 0.2.1 to get the preview.

Checksums (SHA-256)

File SHA-256
safedatatransfer-0.2.1-py3-none-any.whl B94F0B45895F7CE94ED40570205924F9007766DEA4B6D401ACF5F62A6D6E4A3A
safedatatransfer-0.2.1.tar.gz 9AC23155BCA383A7C66B219B1DBB83614BFECD98511767C3D2D40A3D21B1DCD0

sdt.exe and its .sha256 file are added by the build workflow.

v0.2.0

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 28 Nov 13:27

Local drop works between two real PCs. Files go PC-to-PC over Wi-Fi Direct, with no router, cloud or account, protected by a one-time code and end-to-end encryption. Tested with small files and a large video, every byte checked against its SHA-256 before it is saved.

This release is about making drop dependable: problems are found before anything is sent or accepted, and when a transfer does end early, both PCs are told why in plain words. Each fix has a test that fails without it.

New

  • Firewall check before receiving. If Windows Firewall was once told "deny" for Python or sdt.exe, Windows blocks every incoming connection and never asks again, so the sender just timed out. sdt drop receive now finds this (read-only, no admin rights) and stops with an explanation of how to undo it. With --via lan it only warns.
  • Progress on the command line. sdt drop send and sdt drop receive show percent, amount and speed. Before, a big file showed nothing until it was done.

Fixed

  • Wrong code: the sender never said so. The receiver closes without answering a wrong code, so the sending PC only showed Connection closed by peer. It now says the code was wrong and that the receiver has to be started again for a new code.
  • Stop, or a dropped link: raw Windows errors. The other PC showed [WinError 10054] An existing connection was forcibly closed by the remote host. It now says the connection to the other PC was lost (stopped there, or the link dropped). A link that goes silent says how long it waited.
  • A file open in another program broke the transfer half-way. The receiver had accepted and got part of the files when the sender failed with PermissionError. The sender now checks it can read every file before it looks for receivers, and names the one it cannot read.
  • Deep folders could fail half-way on the receiver. With Windows' "long paths" setting off (the default), a path longer than 259 characters cannot be saved, and a folder that fit on the sender can be too long under the receiver's folder. The receiver now checks this before asking you to accept, and declines with a reason.
  • Declines now say why on the sender too (not enough space, path too long) instead of only "The receiver declined." Older versions ignore the reason.
  • "1 file" instead of "1 files".

Tests

  • All 176 tests pass on Windows. New loopback tests cover a stop from either side, a wrong code, a silent link, a locked file and too-long paths.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)
  • For drop, use 0.2.0 on both PCs.

Checksums (SHA-256)

120564067D47E4A38F8DD7FD7E7A1A72A462C0288E0629D6A5D6D5F427D53C13  safedatatransfer-0.2.0-py3-none-any.whl
F984C1D37BA901388004EAE0722F53382EE236BD4C5B191C65D45AB62FD80860  safedatatransfer-0.2.0.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

v0.1.9

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 28 Nov 11:32

Four bug fixes found by a source audit. Two of them concern what evacuate treats as safely copied, so updating is recommended. Each fix has a test that fails without it.

Fixed

  • Evacuate: data attached to a folder was wiped without being copied. On NTFS, a folder (or the drive's root) can carry hidden data streams, not only files. The vault copied the streams of files but not of folders, the check before the wipe did not notice them, and wiping the folder deleted them. A stick with such streams is now never wiped: the copy reports them as an error and says which folder. sdt usb wipe now also overwrites them before deleting.
  • Evacuate: names Windows cannot open were copied from another file. Sticks formatted on Linux or macOS can hold names like report. or report (trailing dot or space), which normal Windows paths turn into report. With both on the stick, the content of report was stored and recorded as a verified copy of report.. A folder photos. listed the files of photos. Such names, and device names like CON, are now reported (rename them on the computer that made them) and nothing is wiped. Drop no longer sends them either. (The wipe itself failed safely before, so no data was lost this way.)
  • Wipe: a folder that could not be emptied got a random name. If a file could not be wiped (for example, open in another program), its folder was renamed to something like 82fb190379e419bf before the delete failed. It now keeps its name, and the error says it still holds files.
  • Drop: codes typed with full-width digits failed as "wrong code". A code typed as 482-913 (common with Japanese and Chinese input) or with Arabic-Indic digits derived a different key, and the receiver stops after one failed attempt. All digit forms now give the same code.

Tests

  • All 151 tests pass on Windows.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

DDC039EE70D9287FF9773827DF602839ECF710135F8D428D126FDB0DB11DE941  safedatatransfer-0.1.9-py3-none-any.whl
FFFDCE423216811EC98670B9E2053E35F1CB1A6E61A72DE58C90297F8ADB3A86  safedatatransfer-0.1.9.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

v0.1.8

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 28 Nov 09:59

Three bug fixes found by probing edge cases, and a flaky test made reliable. Each fix has a test that fails without it.

Fixed

  • Drop: a whole transfer could fail after you accepted it. If the destination already had a file with the same name as a folder being sent (e.g. a file photos in Downloads\sdt-drop, then someone sends the folder photos), receiving stopped with FileExistsError. That folder is now saved as photos (1), with all its files.
  • Vault shred: empty folders you added were deleted. sdt vault shred only destroys what vault open wrote, but empty folders made in the opened folder later were removed too. They are now kept, listed as not from the vault, and the marker stays with them.
  • New passwords: simple sequences got through. Only runs starting with 0123456789abc… were refused, so abcdefghijklmnop was accepted. Any forward or backward run of the alphabet or the digits is now refused. Existing vaults still open with their passwords.

Tests

  • test_tui_keys sometimes failed on CI (on the v0.1.6 and v0.1.7 tags): it read a dialog's input box before the dialog had finished building it. It now waits for the box.
  • All 143 tests pass on Windows.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

38274C4665B5769C9003C6820147CBB221086CB40401F6E47FBFB6A33393F686  safedatatransfer-0.1.8-py3-none-any.whl
11187C7AC51FF027DEA7F7C41D119E6EBD2EF62EE58EF4492F260AEB3757E713  safedatatransfer-0.1.8.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

v0.1.7

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 19 Nov 19:35

Three bug fixes found by probing edge cases. Each one now has a test that fails without the fix.

Fixed

  • Vault copy: the progress bar went past 100 % (e.g. 350 %) when a file had a hidden NTFS data stream. Every file downloaded from the internet has one (Zone.Identifier). The total now counts these streams.
  • Vault open: a file could be left out. If the stick had a .sdt-opened file at its top level (e.g. a vault was once opened straight onto that stick), it clashed with the marker that vault open writes, and that file was skipped with an error. It is now restored as .sdt-opened (from the vault).
  • Drop: a received file could be saved under a different name than the one you accepted. A name cut to 200 characters could end in . or a space, which Windows drops. Names are now cut first and trimmed after.

Tested

  • All 141 tests pass on Windows with Python 3.11, 3.13 and 3.14.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

24F14BF5FAAC3244BBEA151B88E7B0A5291BFD6625F1A67FFD6EF0126248096D  safedatatransfer-0.1.7-py3-none-any.whl
7DA5B026E87536103178D3C0BA89AC219DB1ED9F51E12531D3589AC6313E7DA9  safedatatransfer-0.1.7.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

v0.1.6

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 11 Nov 19:02

Bug fixes found by testing every UI key, every CLI command and ~120 kinds of vault damage.

Fixed in the UI

  • An operation could get stuck. Pressing u (unlock) or p while a copy, evacuate or vault-open was running cancelled it halfway: the UI stayed "busy" until restart and never showed the result.
  • Password asked too early: copy/evacuate into a folder on the stick itself asked for the password twice before refusing. Now it refuses first.
  • Crash on a tampered vault: a vault whose vault.json had invalid key settings could crash the Vaults tab.
  • k with nothing running, x on an empty list and r now say what happened.

Fixed in the CLI

  • vault list and vault open check the vault folder (and --out) before asking for the password.
  • vault info explains what's wrong (missing, a file, no vault.json, damaged, newer version) instead of printing raw Python errors, and shows "INVALID" for tampered key settings instead of crashing.
  • drop send of a missing file says "Not found: …"; a mistyped --code is rejected before searching.
  • drop receive --dest <a file> refuses at once instead of waiting forever.
  • usb copy / usb evacuate into the stick itself are refused before the password is asked.
  • --help now describes every argument.

Tested

  • Every key on every tab and every dialog, with valid and wrong input.
  • Every CLI command with wrong input.
  • A vault damaged in ~120 ways (flipped bytes, cut, reordered or swapped data, damaged file lists and settings): sdt never gave back wrong data. Every damaged file was refused and named.
  • The README and docs: every example checked against the program.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

25B11CD4EFDC2BD973F436D1F1457D2B77A3E10D46D08D2A3605038E3590ECAC  safedatatransfer-0.1.6-py3-none-any.whl
2F37C211D7B06F4D8C33D01B3A1BFB6C3C3E87263183C11944D9C6E5FDD73227  safedatatransfer-0.1.6.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

v0.1.5

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 10 Nov 19:59

New

  • Demo GIF in the README (also on PyPI now): the full-screen UI copying a stick into an encrypted vault, unlocking it, and the Drop tab.

Fixed

  • Drives tab: the file tree's root had no name for a real drive such as E:\, only an empty folder icon. It now shows the drive.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

03D7D1C38A6FD00F23893EAA77EEC6AB2AB81DE057F9816930D31790898387F3  safedatatransfer-0.1.5-py3-none-any.whl
6E831208B3F0A5D2239839ADC5698A1A95C8016DDE096426021444A6F38DAD30  safedatatransfer-0.1.5.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

v0.1.4

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 10 Nov 16:36

Bug-fix release, found by testing with a real USB stick.

Fixed

  • UI: Copy, Evacuate and Wipe did nothing. Pressing c, e or w on the Drives tab silently did nothing; this was broken since the first version. They now open the plan dialog and run as intended.
  • Dry runs of copy and evacuate failed in both the CLI (sdt usb copy D --dry-run) and the UI with "Password contains a very common word". A dry run writes nothing, so the password check now only applies to real copies.

Tested on a real stick

List, info, encrypted copy → open → byte-for-byte compare, wrong password rejected, vault shred, wipe dry run, and a real quick wipe (empty afterwards, stick still healthy).

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python 3.11+: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

2F8ADB6F13CDC56A1ECD6F66ED2E3F8EEFF0FEC45C705E42C37C895C3208CEBB  safedatatransfer-0.1.4-py3-none-any.whl
DCEDBCB2C9E2F34E92B4F8582D882E0E2EE2A010AB08E16B55E4B8392AE284B3  safedatatransfer-0.1.4.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

safedatatransfer 0.1.3

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 09 Nov 14:55

New: Drop tab in the UI

Run sdt and press 4:

  • g receive: shows a name and a code
  • f add a file or folder, s send
  • k stop, at any point (a partly received file is deleted)

Incoming files must be accepted. Decline is selected by default.

Local drop is more reliable

  • Search: the sender keeps looking for receivers for up to 30 seconds. It also catches receivers whose name arrives late, which older Wi-Fi adapters often do.
  • Receiver: advertises more actively while it waits.
  • Code: asked before connecting, so slow typing no longer hits the receiver's time limit.
  • Large folders: about 10,000 files or more failed before. Lists are now much larger, and a list that's still too big gets a clear message.
  • Error messages: clear messages for Wi-Fi Direct timeouts and other failures.

Safety

  • If advertising fails to start, it's stopped again, so the PC never stays visible by mistake.
  • The receiver refuses to write through a junction placed inside the destination folder.
  • Names of nearby devices are always shown as plain text in the UI.
  • Unlocked vaults are also locked after 10 idle minutes while waiting for a sender.
  • Malformed replies in LAN mode are ignored.

Requirements

Python 3.11+ (was wrongly listed as 3.10+; the pinned dependencies need 3.11). The sdt.exe below needs no Python at all.

Install

  • No Python: download sdt.exe below. GitHub Actions builds it from this tag and attaches it a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn: More info → Run anyway.
  • With Python: pipx install safedatatransfer (or pipx upgrade safedatatransfer)

Checksums (SHA-256)

328F8C37B2C9F3F0F47CAEF42A071C562EEE35089F99DBEFC8E4CB880F9F03BB  safedatatransfer-0.1.3-py3-none-any.whl
E03D32D0762E3FCDA2C038BFCBFAF6E0938796D2CCEA22AD4E202C54956039E3  safedatatransfer-0.1.3.tar.gz

The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.

safedatatransfer 0.1.2

Choose a tag to compare

@TheGreatWave21 TheGreatWave21 released this 08 Nov 10:22

The program itself is unchanged from 0.1.1. This release adds the standalone exe and project housekeeping.

  • sdt.exe: a standalone Windows program, no Python needed. It's built by GitHub Actions from this tag and attached below a few minutes after the release, with sdt.exe.sha256. It isn't code-signed yet, so SmartScreen may warn the first time (More info → Run anyway).
  • Tests on Windows: every push now runs the test suite on Python 3.13 and 3.14.
  • SECURITY.md: report security problems privately via Security → Report a vulnerability.

Install

  • No Python: download sdt.exe below.
  • With Python: pipx install safedatatransfer
  • From source: download the source zip and run .\sdt.

Checksums (SHA-256)

BC73F182EE2273A87384551CBAB6A730731892AF60F2FCD1DDDCB624F612E9F1  safedatatransfer-0.1.2-py3-none-any.whl
A8A3C3002CA22289AD35B32AFB624D2D512DA644B995E52F9AEA31C2980C6F92  safedatatransfer-0.1.2.tar.gz

The checksum of sdt.exe is in sdt.exe.sha256. The files on PyPI are built by GitHub Actions, so their checksums differ; PyPI lists its own.