Generate the .RSA

#1

How Can I create the .RSA, How it is generated?

0 Likes

#2

More details please?

0 Likes

#3

I get!

I used the openssl to extract my private key and after I run this code:
ContentInfo contentInfo = new ContentInfo(fileContent);
SignedCms cms = new SignedCms(contentInfo, true);
CmsSigner signer = new CmsSigner(cert);
cms.ComputeSignature(signer);
byte[] pkcs7 = cms.Encode();

I built a new F-DROID server in c# and this code is to generate the index-v1.jar like “fdroid update -c”

0 Likes

#4

The index is signed by jarsigner. If on Debian, you can get that by installing openjdk.

1 Like

#5

The signature on index-v1.jar is a totally plain Java JAR Signature.

0 Likes

closed #6

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

0 Likes

Mastodon