mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 11:33:34 +08:00
Remove spaces from public key's comment
Apparently this breaks things in some systems Fixes #87
This commit is contained in:
@ -97,9 +97,9 @@ class _GitRemoteSettingsScreenState extends State<GitRemoteSettingsScreen> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _generateSshKey(BuildContext context) {
|
void _generateSshKey(BuildContext context) {
|
||||||
var comment = "GitJournal " +
|
var comment = "GitJournal-" +
|
||||||
Platform.operatingSystem +
|
Platform.operatingSystem +
|
||||||
" " +
|
"-" +
|
||||||
DateTime.now().toIso8601String().substring(0, 10); // only the date
|
DateTime.now().toIso8601String().substring(0, 10); // only the date
|
||||||
|
|
||||||
generateSSHKeys(comment: comment).then((String publicKey) {
|
generateSSHKeys(comment: comment).then((String publicKey) {
|
||||||
|
@ -364,9 +364,9 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var comment = "GitJournal " +
|
var comment = "GitJournal-" +
|
||||||
Platform.operatingSystem +
|
Platform.operatingSystem +
|
||||||
" " +
|
"-" +
|
||||||
DateTime.now().toIso8601String().substring(0, 10); // only the date
|
DateTime.now().toIso8601String().substring(0, 10); // only the date
|
||||||
|
|
||||||
generateSSHKeys(comment: comment).then((String publicKey) {
|
generateSSHKeys(comment: comment).then((String publicKey) {
|
||||||
|
Reference in New Issue
Block a user