Ssh-2 rsa format?

Is there any documentation on what body bonuses are?

As here is an example pubkey.

SSH-RSA AAAAB3NzaC1yc2EAAAABJQAAAIBMgigwcBaB3sqogC / yVPANQJKjMwOvrdOKhBIVlI2eOIq6FEyzNI8cbRDbHo5muipun922bLoV + p / dPZ 2 / 8wJ + zugLM8eCdsr + VbYZ3T5wb7bjd2swePOWtffnsXnHiP8aWyRj64vd / mRPR1gYErg8vb7vM5c4B2ANKHs / rP65Bw == RSA-key-20100514

It contains 3 bignams with sizes 7, 1, 128. Now I will assume that 128 is key and 7 is general. But what about the other? In addition, there are many more bonuses in the oath that I have no idea what they are.

Edit:

So obviously what I'm looking for is the blob private key format. I searched and all I found were references to the name, not the actual format.

+2


a source to share


1 answer


A number with size 1 is the "version". What you are seeing is the encoding of a structure that contains key elements. The structure follows ASN.1 conventions and encoding rules. In the case of RSA, the contents of the public and private keys are defined by PKCS # 1 (see Appendix C for the ASN.1 specification, and section 3 for human readable text).



+1


a source







All Articles