mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +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) {
|
||||
var comment = "GitJournal " +
|
||||
var comment = "GitJournal-" +
|
||||
Platform.operatingSystem +
|
||||
" " +
|
||||
"-" +
|
||||
DateTime.now().toIso8601String().substring(0, 10); // only the date
|
||||
|
||||
generateSSHKeys(comment: comment).then((String publicKey) {
|
||||
|
@ -364,9 +364,9 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
|
||||
return;
|
||||
}
|
||||
|
||||
var comment = "GitJournal " +
|
||||
var comment = "GitJournal-" +
|
||||
Platform.operatingSystem +
|
||||
" " +
|
||||
"-" +
|
||||
DateTime.now().toIso8601String().substring(0, 10); // only the date
|
||||
|
||||
generateSSHKeys(comment: comment).then((String publicKey) {
|
||||
|
Reference in New Issue
Block a user