mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-07 00:24:18 +00:00
Merge pull request 'feat(ssh): Add support for ECDSA SSH keys' (#362) from ssh-edcsa into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/362 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
dd54f5fa42
|
@ -83,7 +83,7 @@
|
|||
"no_key_name": "Unnamed key",
|
||||
"root_title": "These are superuser keys",
|
||||
"root_subtitle": "Owners of these keys get full access to the server and can do anything on it. Only add your own keys to the server.",
|
||||
"input_label": "Public ED25519 or RSA key"
|
||||
"input_label": "Public ED25519, ECDSA or RSA key"
|
||||
},
|
||||
"onboarding": {
|
||||
"page1_title": "Digital independence, available to all of us",
|
||||
|
|
|
@ -12,7 +12,7 @@ class SshFormCubit extends FormCubit {
|
|||
required this.user,
|
||||
}) {
|
||||
final RegExp keyRegExp = RegExp(
|
||||
r'^(ssh-rsa AAAAB3NzaC1yc2|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5)[0-9A-Za-z+/]+[=]{0,3}( .*)?$',
|
||||
r'^(ecdsa-sha2-nistp256 AAAAE2VjZH|ssh-rsa AAAAB3NzaC1yc2|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5)[0-9A-Za-z+/]+[=]{0,3}( .*)?$',
|
||||
);
|
||||
|
||||
key = FieldCubit(
|
||||
|
|
Loading…
Reference in a new issue