Compare commits

...
2 Commits
Author SHA1 Message Date
me d26d345cbb gitignore, add F-Droid private files. 2026-11-01 15:41:57 -07:00
me 70cf072525 fdroid, remove the note about manually creating a key. 2026-11-01 15:41:03 -07:00
2 changed files with 10 additions and 12 deletions

No files matched your search

+4
View File
@@ -70,3 +70,7 @@ DEV-*
Config/Prosody/conf.avail Config/Prosody/conf.avail
Config/Prosody/etc/conf.avail Config/Prosody/etc/conf.avail
Config/Prosody/etc/ Config/Prosody/etc/
# Ignore private F-Droid Config.
Config/F-DroidRepo/files/keystore.p12
Config/F-DroidRepo/files/config.yml
+6 -12
View File
@@ -19,19 +19,13 @@ mkdir -pv $FDROID_DATA
keystore="$DIR"/files/keystore.p12 keystore="$DIR"/files/keystore.p12
if [[ ! -f "$keystore" ]]; then if [[ ! -f "$keystore" ]]; then
echo "ERROR: $keystore not detected. Please create it using 'keytool', like this:" echo "ERROR: $keystore not detected. Please create it and config.yml using 'fdroid init'."
cat <<- EOF exit 1
fi
keytool -genkeypair -v \\ config="$DIR"/files/config.yml
-storetype PKCS12 \\ if [[ ! -f "$config" ]]; then
-keystore keystore.p12 \\ echo "ERROR: $config not detected. Please copy the file that came with your keystore.p12 from 'fdroid init'."
-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."
exit 1 exit 1
fi fi