12 Commits

Author SHA1 Message Date
da66222724 Remove isolate dependency
It was used in the rsa key generation which is currently commented out.
Plus it hasn't been ported to null safety.
2021-04-06 13:18:12 +02:00
78b25af47a Bump deps for Flutter 2
Also for handling the latest dart-git. This required disabling -
* ssh_key - Feature toggle (off by default) for generating the ssh key
in dart. This was causing problems.
* screenshots
* flutter_driver - used by screenshots

flutter_driver was nice to have as it was the only proper integration
test that we have.

Also, many of the tests currently fail because of problems with Sentry.
I prefer to fix those in another commit
2021-03-25 11:05:42 +01:00
568e9a407f RsaKeyPair: Improve isValid 2020-11-15 00:50:33 +01:00
f821fc73e1 SSH Private Key: Try formats supported by ssh_key 2020-11-15 00:49:42 +01:00
3b4c257afc Accept more Private Key formats 2020-11-15 00:35:49 +01:00
b9e81b7ae7 RsaKeyPair: Use the recommended size of 4096 2020-11-15 00:33:42 +01:00
a052467ebc Migrate from steel_crypt to crypton
SteelCrypt is deprecating asymetric key crypto functions and recommends
using crypton. This also simplifies our code.
2020-11-15 00:25:39 +01:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
cfcb1d33ed RsaKey: Add a method to generate the key in another isolate
This way we won't be blocking the main thread.
2020-05-03 15:39:39 +02:00
941a4c589a RsaKeyPair: Make sure we parse public keys correctly 2020-05-03 15:15:44 +02:00
67bfb4b1da RsaKeyPair: Try to parse ssh public key
Failed
2020-05-02 13:44:25 +02:00
e8343f1804 Add an RsaKeyPair class
It needs a bit more testing, but with this we should be able to drop the
dependency on openssh, and instead generate the key via dart.
2020-05-02 13:32:05 +02:00