JetBrains / JetBrains/rsynk

Generate server public key by provided private key

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature good first issue
Dominant language
Kotlin
Stars
38
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently to start rsynk one needs to pass both private and public parts of the ssh key.
It's done so because apache sshd KeyPairProvider designed in a way it receives both.

Obviously we don't need a public part of a key if we have private.

Public key configuring should be removed from API.
Public key must be read from the private.

To start take a look at RsynkBuilder.kt file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with RsynkBuilder.kt and trace how private and public SSH key parts are currently configured through Apache SSHD. Confirm which API inputs require both parts and how the public key is obtained from the private key. Done means starting rsynk requires only the private key while the public key is derived automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.