Repository navigation
Closed
Description
To make progress on #1044 and other issues, we need to port existing TypeScript functionality.
This is a master issue that tracks the various things to port.
- (Ivan) zxcvbnStrengthBar porting - port zxcvbnStrengthBar #1061
- (Ivan) MsgBlockParser for parsing pgp blocks - port MsgBlockParser from TypeScript to Kotlinpgp message block parser #1052
- (Ivan) parsing of several keys at a time + parse encrypted keys parsing of several keys at a time in Kotlin + expect potentially encrypted keys #1053
- (Den) encrypt files - can use PGPainless directly port encryptFile to use PGPainless #1059
- (Den) encrypt + encode encrypted/plain emails (either inline or pgp/mime) encrypt + encode encrypted/plain emails #1058 inprogress
- (Den) generate keys - can use PGPainless directly - generate keys using PGPainless #1055
- (Ivan) decrypt keys - can use PGPainless directly encrypt and decrypt keys using pgpainless #1098
- (Ivan) encrypt keys - can use PGPainless directly encrypt and decrypt keys using pgpainless #1098
- (Den)
gmailBackupSearch- maybe this is not used? node -> gmailBackupSearch used? should port it #1056 - (Den) parseDateStr - javascript has a "magic" date parser we use that we'll need in Kotlin. Maybe some mail library has this (we use it to parse email headers) - use JavaMail as a replacement for parseDateStr #1062
- (Ivan) decrypt files - can use PGPainless directly but need to match error scenarios to existing behavior implement pgp decrypt method that mimics error behavior #1060 inprogress
- (Ivan) parsing/decrypting of complex PGP messages parsing/decrypting of complex PGP messages in Kotlin #1057 but first need to do implement pgp decrypt method that mimics error behavior #1060
- (Den) switch to Kotlin decryption/parsing(decrypt large messages and pgp/mime encoded files of any size #1101)
- (Den) drop NodeJS
NodeJS functionality used within Android app is available here: https://github.com/FlowCrypt/flowcrypt-mobile-core/blob/master/source/mobile-interface/endpoints.ts
Activity
[-]port NodeJS / TypeScript functionality to Kotlin[/-][+]port TypeScript functionality to Kotlin[/+]tomholub commentedon Mar 20, 2021
I'm assigning Den to do the final step - once all functionality is ported, to actually remove all Node related code from the app.
DenBond7 commentedon Mar 20, 2021
I'm looking forward for that
tomholub commentedon Mar 20, 2021
Me too :)
IvanPizhenko commentedon Jul 7, 2021
So now, when all pre-requisites are done, we finally can start dropping the Node.
tomholub commentedon Jul 7, 2021
Yup! Den will be looking at that around the end of July.
tomholub commentedon Jul 7, 2021
@IvanPizhenko There is one more issue to look at on this repo for now which is #1118 . Afterwards, please look at issues assigned in on-prem repo (which have no particular order of priority, you can choose priority).
IvanPizhenko commentedon Jul 7, 2021
yes, I will look into it
tomholub commentedon Jul 7, 2021
Thanks!
[-]port TypeScript functionality to Kotlin[/-][+]port to Kotlin + drop NodeJS[/+]DenBond7 commentedon Sep 21, 2021
It will be finally resolved with #1420