public-key-encryption

RSA Public Key format

萝らか妹 提交于 2019-11-26 06:11:33
问题 Where can i find some documentation on the format of an RSA public key? An RSA public key formatted by OpenSSH : ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L The

Use RSA private key to generate public key?

大憨熊 提交于 2019-11-26 04:57:13
问题 I don\'t really understand this one: according to: http://www.madboa.com/geek/openssl/#key-rsa , You can generate a public key from a private key. openssl genrsa -out mykey.pem 1024 openssl rsa -in mykey.pem -pubout > mykey.pub My initial thinking was that they are generated in a pair together. Does RSA private key contain the sum? or the public key? 回答1: openssl genrsa -out mykey.pem 1024 will actually produce a public - private key pair. The pair is stored in the generated mykey.pem file.

Git SSH authentication

核能气质少年 提交于 2019-11-26 03:25:40
问题 I have Debian, Fisheye and Git on my server. My git repos are managed by Fisheye. There is no authentication at the Fisheye part. All authentication procedures are managed by git. I would like to use SSH authentication, so that I do not need to provide username and password as I push my changes to the server. I know how to create an rsa key, but where do I copy my public key at the server? 回答1: The key part of the article "Git on the Server - Setting Up the Server" is: you need to add some