diff --git a/src/sakia/gui/dialogs/connection_cfg/controller.py b/src/sakia/gui/dialogs/connection_cfg/controller.py
index 3fb9fc391457705dfb93f381ee64d72d26a86c19..fea5a3a302871198d53f2414e7a56dd433487906 100644
--- a/src/sakia/gui/dialogs/connection_cfg/controller.py
+++ b/src/sakia/gui/dialogs/connection_cfg/controller.py
@@ -358,6 +358,7 @@ The publication of this document will remove your identity from the network.</p>
     async def check_pubkey(self, checked=False):
         self._logger.debug("Is valid ? ")
         self.view.display_info(self.tr("connecting..."))
+        self.view.button_next.setDisabled(True)
         try:
             self.model.set_pubkey(self.view.edit_pubkey.text(), self.view.scrypt_params)
             self.model.set_uid(self.view.edit_uid.text())