fdroid, remove the note about manually creating a key.
This commit is contained in:
1 parent
f378518da4
commit
70cf072525
1 file changed
+6
-12
@@ -19,19 +19,13 @@ mkdir -pv $FDROID_DATA
|
||||
|
||||
keystore="$DIR"/files/keystore.p12
|
||||
if [[ ! -f "$keystore" ]]; then
|
||||
echo "ERROR: $keystore not detected. Please create it using 'keytool', like this:"
|
||||
cat <<- EOF
|
||||
echo "ERROR: $keystore not detected. Please create it and config.yml using 'fdroid init'."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
keytool -genkeypair -v \\
|
||||
-storetype PKCS12 \\
|
||||
-keystore keystore.p12 \\
|
||||
-alias fdroid \\
|
||||
-keyalg RSA -keysize 4096 \\
|
||||
-validity 10000 \\
|
||||
-dname "CN=YourName, OU=F-Droid"
|
||||
|
||||
EOF
|
||||
echo "It will ask for passwords, it's recommended to make them both the same."
|
||||
config="$DIR"/files/config.yml
|
||||
if [[ ! -f "$config" ]]; then
|
||||
echo "ERROR: $config not detected. Please copy the file that came with your keystore.p12 from 'fdroid init'."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user