From aed1214513da8bf58b95742e32ade0b4078fff44 Mon Sep 17 00:00:00 2001 From: Noor Eldeen Salah Date: Fri, 13 Feb 2026 11:12:17 +0200 Subject: [PATCH 1/4] Improve login layout with proper labels --- pam/internal/adapter/nativemodel.go | 24 +++++------------------- pam/internal/adapter/qrcodemodel.go | 12 ++++++------ 2 files changed, 11 insertions(+), 25 deletions(-) diff --git a/pam/internal/adapter/nativemodel.go b/pam/internal/adapter/nativemodel.go index 2821b01c61..370a9832ba 100644 --- a/pam/internal/adapter/nativemodel.go +++ b/pam/internal/adapter/nativemodel.go @@ -721,21 +721,18 @@ func (m nativeModel) handleQrCode() tea.Cmd { var qrcodeView []string qrcodeView = append(qrcodeView, m.uiLayout.GetLabel()) - var firstQrCodeLine string + // Add some extra vertical space to improve readability + qrcodeView = append(qrcodeView, " ") + if m.isQrcodeRenderingSupported() { qrcode := m.renderQrCode(qrCode) qrcodeView = append(qrcodeView, qrcode) - firstQrCodeLine = strings.SplitN(qrcode, "\n", 2)[0] - } - if firstQrCodeLine == "" { - firstQrCodeLine = m.uiLayout.GetContent() } - centeredContent := centerString(m.uiLayout.GetContent(), firstQrCodeLine) - qrcodeView = append(qrcodeView, centeredContent) + qrcodeView = append(qrcodeView, fmt.Sprintf("URL: %s", m.uiLayout.GetContent())) if code := m.uiLayout.GetCode(); code != "" { - qrcodeView = append(qrcodeView, centerString(code, firstQrCodeLine)) + qrcodeView = append(qrcodeView, fmt.Sprintf("Code: %s", code)) } // Add some extra vertical space to improve readability @@ -782,17 +779,6 @@ func (m nativeModel) isQrcodeRenderingSupported() bool { } } -func centerString(s string, reference string) string { - sizeDiff := len([]rune(reference)) - len(s) - if sizeDiff <= 0 { - return s - } - - // We put padding in both sides, so that it's respected also by non-terminal UIs - padding := strings.Repeat(" ", sizeDiff/2) - return padding + s + padding -} - func (m nativeModel) handleNewPassword() tea.Cmd { if buttonLabel := m.uiLayout.GetButton(); buttonLabel != "" { choices := []choicePair{ diff --git a/pam/internal/adapter/qrcodemodel.go b/pam/internal/adapter/qrcodemodel.go index eabdcb4cff..750c9f5118 100644 --- a/pam/internal/adapter/qrcodemodel.go +++ b/pam/internal/adapter/qrcodemodel.go @@ -103,14 +103,14 @@ func (m qrcodeModel) View() string { qrcodeWidth := lipgloss.Width(qr) style := centeredStyle.Width(qrcodeWidth) - renderedContent := m.content - if lipgloss.Width(m.content) < qrcodeWidth { - renderedContent = style.Render(m.content) - } - fields = append(fields, renderedContent) + + // Add some extra vertical space to improve readability + fields = append(fields, "") + + fields = append(fields, fmt.Sprintf("URL: %s", m.content)) if m.code != "" { - fields = append(fields, style.Render(m.code)) + fields = append(fields, style.Render(fmt.Sprintf("Code: %s", m.code))) } if m.buttonModel != nil { From 53a350af6e14c8198b0af393e48b71d0a811a54f Mon Sep 17 00:00:00 2001 From: Noor Eldeen Salah Date: Fri, 13 Feb 2026 14:50:55 +0200 Subject: [PATCH 2/4] left-align labels in QR code layout for consistency --- pam/internal/adapter/qrcodemodel.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pam/internal/adapter/qrcodemodel.go b/pam/internal/adapter/qrcodemodel.go index 750c9f5118..45b2490e34 100644 --- a/pam/internal/adapter/qrcodemodel.go +++ b/pam/internal/adapter/qrcodemodel.go @@ -101,7 +101,6 @@ func (m qrcodeModel) View() string { qr := m.renderQrCode() fields = append(fields, qr) qrcodeWidth := lipgloss.Width(qr) - style := centeredStyle.Width(qrcodeWidth) // Add some extra vertical space to improve readability @@ -110,7 +109,7 @@ func (m qrcodeModel) View() string { fields = append(fields, fmt.Sprintf("URL: %s", m.content)) if m.code != "" { - fields = append(fields, style.Render(fmt.Sprintf("Code: %s", m.code))) + fields = append(fields, fmt.Sprintf("Code: %s", m.code)) } if m.buttonModel != nil { From 5c8c1abdcf5a1b6c4537d7c6d986272f2c6b9109 Mon Sep 17 00:00:00 2001 From: Noor Eldeen Salah Date: Fri, 13 Feb 2026 11:35:33 +0200 Subject: [PATCH 3/4] tests: improve layout of login prompt with proper labels and alignment --- .../Authenticate_user_with_qr_code | 25 ++- ...user_with_qr_code_after_many_regenerations | 5 +- .../Authenticate_user_with_qr_code_in_a_TTY | 25 ++- ...nticate_user_with_qr_code_in_a_TTY_session | 25 ++- .../Authenticate_user_with_qr_code_in_screen | 25 ++- .../Authenticate_user_switching_auth_mode | 75 +++++--- .../Authenticate_user_with_qr_code | 175 +++++++++++------- .../Authenticate_user_with_qr_code_in_a_TTY | 175 +++++++++++------- ...nticate_user_with_qr_code_in_a_TTY_session | 175 +++++++++++------- .../Authenticate_user_with_qr_code_in_screen | 175 +++++++++++------- .../Authenticate_user_with_qr_code_in_ssh | 175 +++++++++++------- .../Authenticate_user_switching_auth_mode | 75 +++++--- ..._user_switching_auth_mode_with_shared_sshd | 75 +++++--- .../Authenticate_user_with_qr_code | 175 +++++++++++------- ...nticate_user_with_qr_code_with_shared_sshd | 175 +++++++++++------- 15 files changed, 933 insertions(+), 622 deletions(-) diff --git a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code index 61327bfb2b..ea417ecf14 100644 --- a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code +++ b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code @@ -43,8 +43,9 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 [ Regenerate code ] @@ -70,8 +71,9 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 [ Regenerate code ] @@ -99,8 +101,9 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 [ Regenerate code ] @@ -126,8 +129,9 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄███▄█▄▄██▄███▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 [ Regenerate code ] @@ -153,8 +157,9 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 [ Regenerate code ] diff --git a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_after_many_regenerations b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_after_many_regenerations index 76ecc40ff4..e81e0b6ba6 100644 --- a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_after_many_regenerations +++ b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_after_many_regenerations @@ -51,8 +51,9 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 [ Regenerate code ] diff --git a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY index 4147ad346a..c7d903645e 100644 --- a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY +++ b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY @@ -59,8 +59,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 [ Regenerate code ] @@ -102,8 +103,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 [ Regenerate code ] @@ -149,8 +151,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 [ Regenerate code ] @@ -192,8 +195,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 [ Regenerate code ] @@ -235,8 +239,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 [ Regenerate code ] diff --git a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session index 99f85e232c..664d1d3c88 100644 --- a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session +++ b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session @@ -59,8 +59,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 [ Regenerate code ] @@ -102,8 +103,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 [ Regenerate code ] @@ -149,8 +151,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 [ Regenerate code ] @@ -192,8 +195,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 [ Regenerate code ] @@ -235,8 +239,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 [ Regenerate code ] diff --git a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_screen b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_screen index 3519e7e8a4..25ebf20f3e 100644 --- a/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_screen +++ b/pam/integration-tests/testdata/golden/TestCLIAuthenticate/Authenticate_user_with_qr_code_in_screen @@ -59,8 +59,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 [ Regenerate code ] @@ -102,8 +103,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 [ Regenerate code ] @@ -149,8 +151,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 [ Regenerate code ] @@ -192,8 +195,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 [ Regenerate code ] @@ -235,8 +239,9 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 [ Regenerate code ] diff --git a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_switching_auth_mode b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_switching_auth_mode index 3de449cc01..367a4eb0bf 100644 --- a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_switching_auth_mode +++ b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_switching_auth_mode @@ -1473,6 +1473,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1490,8 +1491,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1603,6 +1604,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1620,8 +1622,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1733,6 +1735,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1750,8 +1753,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1875,6 +1878,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1892,8 +1896,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2017,6 +2021,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2034,8 +2039,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2165,6 +2170,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2182,8 +2188,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2313,6 +2319,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2330,8 +2337,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2473,6 +2480,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2490,8 +2498,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2633,6 +2641,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2650,8 +2659,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2796,6 +2805,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2813,8 +2823,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2959,6 +2969,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -2976,8 +2987,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3135,6 +3146,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -3152,8 +3164,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3311,6 +3323,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -3328,8 +3341,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3491,6 +3504,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -3508,8 +3522,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3671,6 +3685,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -3688,8 +3703,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code index 8d9f6085f0..9a1816a6b5 100644 --- a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code +++ b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code @@ -93,6 +93,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -110,8 +111,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -143,6 +144,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -160,8 +162,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -193,6 +195,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -210,8 +213,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -220,6 +223,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -237,8 +241,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -270,6 +274,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -287,8 +292,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -297,6 +302,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -314,8 +320,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -347,6 +353,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -364,8 +371,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -374,6 +381,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -391,8 +399,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -401,6 +409,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -420,8 +429,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -453,6 +462,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -470,8 +480,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -480,6 +490,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -497,8 +508,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -507,6 +518,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -526,8 +538,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -559,6 +571,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -576,8 +589,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -586,6 +599,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -603,8 +617,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -613,6 +627,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -632,8 +647,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -642,6 +657,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▀▄▀▀ ▀▀ ██ ▄▄▄▄▄ ████ @@ -659,8 +675,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄███▄█▄▄██▄███▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -692,6 +708,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -709,8 +726,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -719,6 +736,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -736,8 +754,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -746,6 +764,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -765,8 +784,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -775,6 +794,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▀▄▀▀ ▀▀ ██ ▄▄▄▄▄ ████ @@ -792,8 +812,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄███▄█▄▄██▄███▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -825,6 +845,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -842,8 +863,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -852,6 +873,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -869,8 +891,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -879,6 +901,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -898,8 +921,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -908,6 +931,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▀▄▀▀ ▀▀ ██ ▄▄▄▄▄ ████ @@ -925,8 +949,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄███▄█▄▄██▄███▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -935,6 +959,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -952,8 +977,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -985,6 +1010,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1002,8 +1028,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1012,6 +1038,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -1029,8 +1056,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1039,6 +1066,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -1058,8 +1086,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1068,6 +1096,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▀▄▀▀ ▀▀ ██ ▄▄▄▄▄ ████ @@ -1085,8 +1114,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄███▄█▄▄██▄███▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1095,6 +1124,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1112,8 +1142,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1145,6 +1175,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1162,8 +1193,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1172,6 +1203,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▄█▄▀ ████ ▄▄▄▄▄ ████ @@ -1189,8 +1221,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄███▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1199,6 +1231,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████████ █████████████████████████████████████ ████ ▄▄▄▄▄ █ ▄▄ ▀█▀ ▄▄ ▄▀█ ▄▄▄▄▄ ████ @@ -1218,8 +1251,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄█▄▄█▄▄▄▄█▄▄▄▄██▄█▄█████ █████████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1228,6 +1261,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▀▄▀▀ ▀▀ ██ ▄▄▄▄▄ ████ @@ -1245,8 +1279,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄▄███▄█▄▄██▄███▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1255,6 +1289,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + █████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █ ▀▀█▄██ █ ▄▄▄▄▄ ████ @@ -1272,8 +1307,8 @@ Scan the qrcode or enter the code in the login page ████▄▄▄▄▄▄▄█▄█▄█▄█▄████▄▄▄▄▄▄████ █████████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY index f0fd0b9145..edacd91bc2 100644 --- a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY +++ b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY @@ -93,6 +93,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -126,8 +127,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -159,6 +160,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -192,8 +194,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -225,6 +227,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -258,8 +261,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -268,6 +271,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -301,8 +305,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -334,6 +338,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -367,8 +372,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -377,6 +382,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -410,8 +416,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -443,6 +449,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -476,8 +483,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -486,6 +493,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -519,8 +527,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -529,6 +537,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -566,8 +575,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -599,6 +608,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -632,8 +642,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -642,6 +652,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -675,8 +686,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -685,6 +696,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -722,8 +734,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -755,6 +767,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -788,8 +801,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -798,6 +811,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -831,8 +845,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -841,6 +855,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -878,8 +893,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -888,6 +903,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -921,8 +937,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -954,6 +970,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -987,8 +1004,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -997,6 +1014,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1030,8 +1048,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1040,6 +1058,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1077,8 +1096,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1087,6 +1106,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1120,8 +1140,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1153,6 +1173,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1186,8 +1207,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1196,6 +1217,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1229,8 +1251,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1239,6 +1261,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1276,8 +1299,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1286,6 +1309,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1319,8 +1343,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1329,6 +1353,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1362,8 +1387,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1395,6 +1420,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1428,8 +1454,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1438,6 +1464,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1471,8 +1498,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1481,6 +1508,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1518,8 +1546,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1528,6 +1556,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1561,8 +1590,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1571,6 +1600,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1604,8 +1634,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1637,6 +1667,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1670,8 +1701,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1680,6 +1711,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1713,8 +1745,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1723,6 +1755,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1760,8 +1793,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1770,6 +1803,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1803,8 +1837,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1813,6 +1847,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1846,8 +1881,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session index 9816132f64..43fe0b92d7 100644 --- a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session +++ b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_a_TTY_session @@ -93,6 +93,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -126,8 +127,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -159,6 +160,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -192,8 +194,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -225,6 +227,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -258,8 +261,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -268,6 +271,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -301,8 +305,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -334,6 +338,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -367,8 +372,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -377,6 +382,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -410,8 +416,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -443,6 +449,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -476,8 +483,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -486,6 +493,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -519,8 +527,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -529,6 +537,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -566,8 +575,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -599,6 +608,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -632,8 +642,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -642,6 +652,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -675,8 +686,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -685,6 +696,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -722,8 +734,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -755,6 +767,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -788,8 +801,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -798,6 +811,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -831,8 +845,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -841,6 +855,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -878,8 +893,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -888,6 +903,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -921,8 +937,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -954,6 +970,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -987,8 +1004,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -997,6 +1014,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1030,8 +1048,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1040,6 +1058,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1077,8 +1096,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1087,6 +1106,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1120,8 +1140,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1153,6 +1173,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1186,8 +1207,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1196,6 +1217,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1229,8 +1251,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1239,6 +1261,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1276,8 +1299,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1286,6 +1309,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1319,8 +1343,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1329,6 +1353,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1362,8 +1387,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1395,6 +1420,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1428,8 +1454,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1438,6 +1464,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1471,8 +1498,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1481,6 +1508,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1518,8 +1546,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1528,6 +1556,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1561,8 +1590,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1571,6 +1600,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1604,8 +1634,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1637,6 +1667,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1670,8 +1701,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1680,6 +1711,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1713,8 +1745,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1723,6 +1755,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1760,8 +1793,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1770,6 +1803,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1803,8 +1837,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1813,6 +1847,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1846,8 +1881,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_screen b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_screen index 4f2f4afb8b..3beb5c018f 100644 --- a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_screen +++ b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_screen @@ -93,6 +93,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -126,8 +127,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -159,6 +160,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -192,8 +194,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -225,6 +227,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -258,8 +261,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -268,6 +271,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -301,8 +305,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -334,6 +338,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -367,8 +372,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -377,6 +382,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -410,8 +416,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -443,6 +449,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -476,8 +483,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -486,6 +493,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -519,8 +527,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -529,6 +537,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -566,8 +575,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -599,6 +608,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -632,8 +642,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -642,6 +652,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -675,8 +686,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -685,6 +696,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -722,8 +734,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -755,6 +767,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -788,8 +801,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -798,6 +811,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -831,8 +845,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -841,6 +855,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -878,8 +893,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -888,6 +903,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -921,8 +937,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -954,6 +970,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -987,8 +1004,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -997,6 +1014,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1030,8 +1048,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1040,6 +1058,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1077,8 +1096,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1087,6 +1106,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1120,8 +1140,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1153,6 +1173,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1186,8 +1207,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1196,6 +1217,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1229,8 +1251,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1239,6 +1261,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1276,8 +1299,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1286,6 +1309,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1319,8 +1343,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1329,6 +1353,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1362,8 +1387,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1395,6 +1420,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1428,8 +1454,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1438,6 +1464,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1471,8 +1498,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1481,6 +1508,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1518,8 +1546,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1528,6 +1556,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1561,8 +1590,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1571,6 +1600,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1604,8 +1634,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -1637,6 +1667,7 @@ Choose your authentication method: > 7 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1670,8 +1701,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1337 +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1680,6 +1711,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1713,8 +1745,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.fr/ - 1338 +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -1723,6 +1755,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ @@ -1760,8 +1793,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████████████ - https://ubuntuforum-br.org/ - 1339 +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -1770,6 +1803,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1803,8 +1837,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://www.ubuntu-it.org/ - 1340 +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -1813,6 +1847,7 @@ Choose action: > 2 == Use a QR code == Scan the qrcode or enter the code in the login page + ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ @@ -1846,8 +1881,8 @@ Scan the qrcode or enter the code in the login page ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ - https://ubuntu.com - 1341 +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_ssh b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_ssh index 2dcbbe80bf..1bb6518296 100644 --- a/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_ssh +++ b/pam/integration-tests/testdata/golden/TestNativeAuthenticate/Authenticate_user_with_qr_code_in_ssh @@ -93,8 +93,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -126,8 +127,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -159,8 +161,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -169,8 +172,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -202,8 +206,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -212,8 +217,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -245,8 +251,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -255,8 +262,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -265,8 +273,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -298,8 +307,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -308,8 +318,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -318,8 +329,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -351,8 +363,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -361,8 +374,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -371,8 +385,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -381,8 +396,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -414,8 +430,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -424,8 +441,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -434,8 +452,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -444,8 +463,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -477,8 +497,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -487,8 +508,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -497,8 +519,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -507,8 +530,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -517,8 +541,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -550,8 +575,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -560,8 +586,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -570,8 +597,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -580,8 +608,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -590,8 +619,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -623,8 +653,9 @@ Choose your authentication method: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -633,8 +664,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -643,8 +675,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -653,8 +686,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -663,8 +697,9 @@ Choose action: > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode index 62a5ae368f..aff61ca16e 100644 --- a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode +++ b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode @@ -1473,8 +1473,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1586,8 +1587,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1699,8 +1701,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1824,8 +1827,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1949,8 +1953,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2080,8 +2085,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2211,8 +2217,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2354,8 +2361,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2497,8 +2505,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2643,8 +2652,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2789,8 +2799,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2948,8 +2959,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3107,8 +3119,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3270,8 +3283,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3433,8 +3447,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode_with_shared_sshd b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode_with_shared_sshd index 3cd6cd262f..0b21d29074 100644 --- a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode_with_shared_sshd +++ b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_switching_auth_mode_with_shared_sshd @@ -1494,8 +1494,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1608,8 +1609,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1722,8 +1724,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1848,8 +1851,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -1974,8 +1978,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2106,8 +2111,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2238,8 +2244,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2382,8 +2389,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2526,8 +2534,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2673,8 +2682,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2820,8 +2830,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -2980,8 +2991,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3140,8 +3152,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3304,8 +3317,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -3468,8 +3482,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code index 23272ecfc6..089780037a 100644 --- a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code +++ b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code @@ -93,8 +93,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -126,8 +127,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -159,8 +161,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -169,8 +172,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -202,8 +206,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -212,8 +217,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -245,8 +251,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -255,8 +262,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -265,8 +273,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -298,8 +307,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -308,8 +318,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -318,8 +329,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -351,8 +363,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -361,8 +374,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -371,8 +385,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -381,8 +396,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -414,8 +430,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -424,8 +441,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -434,8 +452,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -444,8 +463,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -477,8 +497,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -487,8 +508,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -497,8 +519,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -507,8 +530,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -517,8 +541,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -550,8 +575,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -560,8 +586,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -570,8 +597,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -580,8 +608,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -590,8 +619,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -623,8 +653,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -633,8 +664,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -643,8 +675,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -653,8 +686,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -663,8 +697,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code diff --git a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code_with_shared_sshd b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code_with_shared_sshd index 8564f29147..ad2210d8b4 100644 --- a/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code_with_shared_sshd +++ b/pam/integration-tests/testdata/golden/TestSSHAuthenticate/Authenticate_user_with_qr_code_with_shared_sshd @@ -93,8 +93,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -126,8 +127,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -159,8 +161,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -169,8 +172,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -202,8 +206,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -212,8 +217,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -245,8 +251,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -255,8 +262,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -265,8 +273,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -298,8 +307,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -308,8 +318,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -318,8 +329,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -351,8 +363,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -361,8 +374,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -371,8 +385,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -381,8 +396,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -414,8 +430,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -424,8 +441,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -434,8 +452,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -444,8 +463,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -477,8 +497,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -487,8 +508,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -497,8 +519,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -507,8 +530,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -517,8 +541,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -550,8 +575,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -560,8 +586,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -570,8 +597,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -580,8 +608,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -590,8 +619,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code @@ -623,8 +653,9 @@ Or enter 'r' to go back to choose the provider > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1337 + +URL: https://ubuntu.com +Code: 1337 1. Wait for authentication result 2. Regenerate code @@ -633,8 +664,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.fr/ - 1338 + +URL: https://ubuntu.fr/ +Code: 1338 1. Wait for authentication result 2. Regenerate code @@ -643,8 +675,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntuforum-br.org/ - 1339 + +URL: https://ubuntuforum-br.org/ +Code: 1339 1. Wait for authentication result 2. Regenerate code @@ -653,8 +686,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://www.ubuntu-it.org/ - 1340 + +URL: https://www.ubuntu-it.org/ +Code: 1340 1. Wait for authentication result 2. Regenerate code @@ -663,8 +697,9 @@ Or enter 'r' to go back to select the authentication method > 2 == Use a Login code == Enter the code in the login page -https://ubuntu.com - 1341 + +URL: https://ubuntu.com +Code: 1341 1. Wait for authentication result 2. Regenerate code From f679b562021935cbed0ecc23ee84a67cd42ed92a Mon Sep 17 00:00:00 2001 From: Noor Eldeen Mansour Date: Tue, 14 Apr 2026 12:33:55 +0200 Subject: [PATCH 4/4] e2e-tests: Update `DEVICE_URL_REGEX` to match the new login layout --- e2e-tests/resources/broker_vars.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/e2e-tests/resources/broker_vars.py b/e2e-tests/resources/broker_vars.py index 2d486cbd94..acf7ab9f93 100644 --- a/e2e-tests/resources/broker_vars.py +++ b/e2e-tests/resources/broker_vars.py @@ -15,7 +15,11 @@ "BROKER_CFG_DIR": "/var/snap/authd-msentraid/current/broker.conf.d", "PROVIDER_DISPLAY_NAME": "Microsoft Entra ID", "DEVICE_URL": "login.microsoft.com/device", - "DEVICE_URL_REGEX": r"(https://)?login.microsoft.com/device\n((Login code: )?([A-Za-z0-9]+))", + # TODO: Once the stable channel ships the new URL:/Code: format, drop the + # optional-prefix fallbacks and simplify to r"URL:\s*(https://)?...\nCode:\s*([A-Za-z0-9]+)". + # They exist only for migration_broker.robot, which logs in before upgrading + # from stable (old bare format) to edge (new labeled format). + "DEVICE_URL_REGEX": r"(?:URL:\s*)?(https://)?login.microsoft.com/device\n(?:(?:Code|Login code):\s*|\s*)([A-Za-z0-9]+)", "remote_group": "e2e-test-group", }, "authd-google": { @@ -25,7 +29,8 @@ "BROKER_CFG_DIR": "/var/snap/authd-google/current/broker.conf.d", "PROVIDER_DISPLAY_NAME": "Google", "DEVICE_URL": "google.com/device", - "DEVICE_URL_REGEX": r"(https:\/\/)?google.com\/device\n((Login code: )?(([A-Za-z\- ]+)))", + # TODO: Same as above — simplify once stable ships the new format. + "DEVICE_URL_REGEX": r"(?:URL:\s*)?(https:\/\/)?google.com\/device\n(?:(?:Code|Login code):\s*|\s*)([A-Za-z\- ]+)", "remote_group": "", }, }