diff options
author | Giovanni Panozzo <giovanni@panozzo.it> | 2020-01-20 15:05:32 +0300 |
---|---|---|
committer | Giovanni Panozzo <giovanni@panozzo.it> | 2020-01-20 16:05:30 +0300 |
commit | ee3aa5ff2c3031c5143cbbcddf60997dbc6f33f0 (patch) | |
tree | 7bb6a115c2eee64adffcc94569f2a4a7f85a5d9c /src/remmina_plugin_manager.c | |
parent | 134b3c5bb7dc23890babf2db0013f30b1338c93c (diff) |
SSH key migration fixes
Diffstat (limited to 'src/remmina_plugin_manager.c')
-rw-r--r-- | src/remmina_plugin_manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/remmina_plugin_manager.c b/src/remmina_plugin_manager.c index fd6ff6432..e2cc5b9f9 100644 --- a/src/remmina_plugin_manager.c +++ b/src/remmina_plugin_manager.c @@ -102,9 +102,14 @@ static void init_settings_cache(RemminaPlugin *plugin) /* Some settings are encrypted "by name" */ /* g_hash_table_insert(pht, g_strdup("proxy_password"), (gpointer)TRUE); */ + g_hash_table_insert(pht, g_strdup("ssh_tunnel_password"), (gpointer)TRUE); g_hash_table_insert(pht, g_strdup("ssh_tunnel_passphrase"), (gpointer)TRUE); + /* ssh_password is no longer used starting from remmina 1.4. + * But we MUST mark it as encrypted setting, or the migration procedure will fail */ + g_hash_table_insert(pht, g_strdup("ssh_password"), (gpointer)TRUE); + /* Other settings are encrypted because of their type */ protocol_plugin = (RemminaProtocolPlugin *)plugin; setting_iter = protocol_plugin->basic_settings; |