Skip to content

Delete duplicated OPENSSH-format parsing in Ed25519Key - #1571

Open
intgr wants to merge 1 commit into
paramiko:mainfrom
intgr:duplicated-parsing-in-ed25519
Open

intgr wants to merge 1 commit into
paramiko:mainfrom
intgr:duplicated-parsing-in-ed25519

Conversation

@intgr

@intgr intgr commented Dec 11, 2019 •

Copy link
Copy Markdown

Merging this is a pre-requisite for #1558.

The Ed25519Key class contained key parsing and decryption logic for OPENSSH-format keys before that code became generic. Now that #1343 is merged, this logic becomes redundant and can be removed.

This cleanup was extracted from ploxiln#13 and the original author @ploxiln is credited as commit author even though I (@intgr) am submitting this pull request.

Signed-off-by: Marti Raudsepp [email protected]

@intgr
intgr force-pushed the duplicated-parsing-in-ed25519 branch from 94e7815 to acaebb4 Compare December 11, 2019 21:46
@intgr
intgr force-pushed the duplicated-parsing-in-ed25519 branch 2 times, most recently from 043d131 to a7bcafd Compare December 11, 2019 22:15
@intgr

intgr commented Dec 11, 2019 •

Copy link
Copy Markdown
Author

EDIT: Changed the formatting to match older Black version.

Old post:

This repository is using some old version of Black, it wants me to change this, which is quite silly:

             assert (
                 pkformat == self._PRIVATE_KEY_FORMAT_OPENSSH
-            ), "Unexpected pkformat {}".format(pkformat)
+            ), "Unexpected pkformat {}".format(
+                pkformat
+            )

Using the latest version 19.10b0 does not require this change. Should I still change it?

@intgr
intgr force-pushed the duplicated-parsing-in-ed25519 branch from a7bcafd to c42df5d Compare July 31, 2020 16:08
The Ed25519Key class contained key parsing and decryption logic for
OPENSSH-format keys before that code became generic. Now that paramiko#1343 is
merged, this logic becomes redundant and can be removed.

This cleanup was extracted from
ploxiln#13 and the original author
@ploxiln is credited as commit author even though I (@intgr) am
submitting this pull request.

Signed-off-by: Marti Raudsepp <[email protected]>
@intgr
intgr force-pushed the duplicated-parsing-in-ed25519 branch from c42df5d to b6144e5 Compare July 31, 2020 16:16
@intgr

intgr commented Jul 31, 2020 •

Copy link
Copy Markdown
Author

Ping @bitprophet. If you don't have time to maintain this project, please announce a search for new maintainers.

Holding useful contributions hostage is not a responsible way to maintain an open source project.

@MrMino

MrMino commented Aug 3, 2020 •

Copy link
Copy Markdown
Contributor

Ping @bitprophet. If you don't have time to maintain this project, please announce a search for new maintainers.

Holding useful contributions hostage is not a responsible way to maintain an open source project.

@intgr Please read his latest post.

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.

3 participants