maks / MGit

A Git client for Android.
https://manichord.com/projects/mgit.html
GNU General Public License v3.0
1.18k stars 164 forks source link

[Question] How to create a public key ? #693

Closed KaKi87 closed 11 months ago

KaKi87 commented 1 year ago

Hello,

I found the "ssh keys" item in settings, but it seems to only generate a private key.

So, how to generate a public key, that I can import from my account ?

Thanks

Feelcame commented 11 months ago

Its generate a both private and public keys at same time

KaKi87 commented 11 months ago

Where ?

Feelcame commented 11 months ago

Where ?

Long click on the file → Three dots menu → Show public/private key

Feelcame commented 11 months ago

Screenshot_20230807-161200_MGit

KaKi87 commented 11 months ago

Oh, I see.

This is very confusing, because on desktop git, the public key file has a name ending with .pub while the private key file next to it hasn't, that's how you know what's what.

Thanks