No, I am not a part of this project, but I decided to give it a try myself after discovering it and seeing that the project is abandoned, I wanted to write some sort of guide for people who also want to try it. I might try to make an Android app myself in order to not depend of Termux.
Q: Do I have to keep termux running in the background?
A: Yes, to receive new messages and send emails, you need to keep it running.
Q: gpg: invalid option "--full-generate-keypkg"
A: I'm guessing this error happens because in the readme file of this repo, the creator forgot to press enter when writing gpg --full-generate-keygpg --list-secret-keys. It should be separated like this: gpg --full-generate-key and gpg --list-secret-keys. If you are still having issues related to "gpg --full-generate-key" command, you can also try --full-gen-key or --generate-key or --gen-key.
Q: How to set up gpg?
A: If you manage to successfully run the gpg key command
- It will first ask you to select what kind of key you want. If you know what you are doing, you can select the one you want by typing a number, if you are unsure about it, you can just press enter without typing anything to pick the default option (which is number 9, ECC (sign and encrypt))
- Select the elliptic curve you want, again, if you are unsure, you can press enter without typing anything to select the default option (which is the number 1, Curve 25519)
- Specifying how long the key should be valid. You can press enter again without typing anything to pick 0, which means the key does not expire.
- It asks you if the answers you entered is correct or not, if you want to change anything, press enter or type n to pick different options from the start, if you want to continue, type y.
- It asks for your real name,
- It asks for your email address,
- It asks for your comment (can be left blank),
- After entering them, it asks you to confirm your answers, to continue, type o and to edit your answers, type q
- it asks for you to make a password and repeat it.
- Done.
Q: Can I use this for calendar sync?
A: No. Currently Proton still does not support sync for calendar, only email.
Q: How can I add it to accounts & sync?
A: I am using a Xiaomi phone so this will be focused on MIUI/HyperOS but it should be also similar to other Android phones.
- Add account
- Pick "IMAP"
- At the bottom pick "Other"
- Click on "Manual setup"
- Type your email address and your username, but for password, instead of typing your proton account password, use the password that proton bridge generates.
5.a. You can type "info" when you are running pass test/test && proton-bridge --cli to find the generated password for you.
- For server, type
127.0.0.1 and for port, type 1143.
- You do not need to change IMAP path prefix or turn on SSL.
- For Outgoing mail server/SMTP, write
127.0.0.1 again, but this time write 1025 for port.
- You do not need to turn on SSL, and if your generated password is the same as the IMAP password (by default it is same), you also do not need to turn on SMTP independent verification.
- If another email client asks for security, use "STARTTLS" for both IMAP and SMTP. This is not required in Xiaomi account & sync.
- Done.
No, I am not a part of this project, but I decided to give it a try myself after discovering it and seeing that the project is abandoned, I wanted to write some sort of guide for people who also want to try it. I might try to make an Android app myself in order to not depend of Termux.
Q: Do I have to keep termux running in the background?
A: Yes, to receive new messages and send emails, you need to keep it running.
Q: gpg: invalid option "--full-generate-keypkg"
A: I'm guessing this error happens because in the readme file of this repo, the creator forgot to press enter when writing
gpg --full-generate-keygpg --list-secret-keys. It should be separated like this:gpg --full-generate-keyandgpg --list-secret-keys. If you are still having issues related to "gpg --full-generate-key" command, you can also try--full-gen-keyor--generate-keyor--gen-key.Q: How to set up gpg?
A: If you manage to successfully run the gpg key command
Q: Can I use this for calendar sync?
A: No. Currently Proton still does not support sync for calendar, only email.
Q: How can I add it to accounts & sync?
A: I am using a Xiaomi phone so this will be focused on MIUI/HyperOS but it should be also similar to other Android phones.
5.a. You can type "info" when you are running
pass test/test && proton-bridge --clito find the generated password for you.127.0.0.1and for port, type1143.127.0.0.1again, but this time write1025for port.