Skip to content

fix(importers): decode URL-encoded WinSCP key paths#69

Open
Orinks wants to merge 1 commit intodevfrom
fix/winscp-decode-key-paths
Open

fix(importers): decode URL-encoded WinSCP key paths#69
Orinks wants to merge 1 commit intodevfrom
fix/winscp-decode-key-paths

Conversation

@Orinks
Copy link
Owner

@Orinks Orinks commented Mar 4, 2026

Summary

  • Decode WinSCP PublicKeyFile values when importing from INI/registry
  • Fixes URL-encoded key paths (e.g. C:%5CUsers%5C...%5Ckey.ppk) becoming unusable
  • Adds regression test for URL-encoded key path input

Why

WinSCP stores some path fields URL-encoded. Without decoding, Portkey Drop cannot locate the user’s PPK file after import.

Test

  • uv run --no-sync pytest tests/test_importers_winscp.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant