Skip to content

Git via SSH: Replace Jsch transport with Apache - #948

Closed
amberin wants to merge 1 commit into
orgzly:masterfrom
amberin:apache-ssh
Closed

Git via SSH: Replace Jsch transport with Apache#948
amberin wants to merge 1 commit into
orgzly:masterfrom
amberin:apache-ssh

Conversation

@amberin

@amberin amberin commented Jul 19, 2022

Copy link
Copy Markdown
Contributor

Apache MINA SSHD is now the standard SSH transport library for JGit. It supports more modern key algorithms than Jsch. This is my implementation attempt. It uses a .ssh directory in the app's private storage for storing "known hosts" information.

I hope to look into generating the SSH private key on the device shortly.

I have added a notification prompt to the user upon new or changed SSH server host key. I am probably doing this completely wrong, but it seems to work.

N.B. Currently requires API >= 26, but I suspect that would be easy to fix for someone who actually knows Java and Android.

@amberin

amberin commented Jul 19, 2022

Copy link
Copy Markdown
Contributor Author

Intended to solve #904

@amberin

amberin commented Aug 31, 2022

Copy link
Copy Markdown
Contributor Author

Rebased on current master.

N.B. Requires API >= 26.

Apache MINA SSHD is now the standard SSH transport library for JGit. It
supports more modern key algorithms than Jsch.

I have added a notification prompt to the user upon new or unexpected SSH
server host key. I have no idea what I'm doing, but it seems to work.
@amberin

amberin commented Mar 19, 2023

Copy link
Copy Markdown
Contributor Author

Closing this in favor of #1037.

@amberin amberin closed this Mar 19, 2023
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