--- i3lock/i3lock.c.orig 2023-03-17 16:57:18.633414781 +0300 +++ i3lock/i3lock.c 2023-03-17 16:57:28.015373289 +0300 @@ -485,7 +485,7 @@ /* store it in the password array as UTF-8 */ memcpy(password + input_position, buffer, n - 1); input_position += n - 1; - DEBUG("current password = %.*s\n", input_position, password); + DEBUG("current password = ********\n", input_position, password); if (unlock_indicator) { unlock_state = STATE_KEY_ACTIVE;