Skip to content

Commit

Permalink
Remove migrate key script but keep link in README
Browse files Browse the repository at this point in the history
In preparation for the removal of legacy key interfaces and formats
(#731), we provided a key file migration script in docs/ (#658).

The script itself uses the legacy interfaces and thus should be removed
from the current git tree together with them.

This patch removes the script, including tests and test data, but keeps
a tagged reference in the README, so that it can still be used with the
pre-legacy-removal version of securesystemslib.

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Apr 10, 2024
1 parent 109b47e commit 82287e4
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 363 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ See [Instructions for contributors](docs/CONTRIBUTING.md).

## Legacy key migration

Use [`migrate_keys`](docs/migrate_key.py) script to convert key pairs generated
with legacy `keys` or `interface` modules to a consistent standard format, which
is compatible with [`CryptoSigner`](docs/CRYPTO_SIGNER.md).
Use
[`migrate_keys`](https://github.com/secure-systems-lab/securesystemslib/blob/v0.31.0/docs/migrate_key.py)
script to convert key pairs generated with legacy `keys` or `interface` modules
to a consistent standard format, which is compatible with
[`CryptoSigner`](docs/CRYPTO_SIGNER.md). The script requires
`securesystemslib~=0.31.0`.
127 changes: 0 additions & 127 deletions docs/migrate_key.py

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/legacy/ecdsa_private_encrypted

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/legacy/ecdsa_private_unencrypted

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/legacy/ecdsa_public

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/legacy/ed25519_private_encrypted

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/legacy/ed25519_private_unencrypted

This file was deleted.

1 change: 0 additions & 1 deletion tests/data/legacy/ed25519_public

This file was deleted.

42 changes: 0 additions & 42 deletions tests/data/legacy/rsa_private_encrypted

This file was deleted.

39 changes: 0 additions & 39 deletions tests/data/legacy/rsa_private_unencrypted

This file was deleted.

11 changes: 0 additions & 11 deletions tests/data/legacy/rsa_public

This file was deleted.

135 changes: 0 additions & 135 deletions tests/test_migrate_key.py

This file was deleted.

0 comments on commit 82287e4

Please sign in to comment.