[openssh-commits] [openssh] 03/03: upstream: remove hardcoded domain and use window.location.host, so this
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Jan 12 09:36:12 AEDT 2022
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit acabefe3f8fb58c867c99fed9bbf84dfa1771727
Author: djm at openbsd.org <djm at openbsd.org>
Date: Tue Jan 11 22:33:16 2022 +0000
upstream: remove hardcoded domain and use window.location.host, so this
can be run anywhere
OpenBSD-Regress-ID: 2ac2ade3b6227d9c547351d3ccdfe671e62b7f92
---
regress/unittests/sshsig/webauthn.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/regress/unittests/sshsig/webauthn.html b/regress/unittests/sshsig/webauthn.html
index 1869c8b3..5c9a32e9 100644
--- a/regress/unittests/sshsig/webauthn.html
+++ b/regress/unittests/sshsig/webauthn.html
@@ -372,8 +372,8 @@ function enrollStart(username) {
let pkopts = {
challenge: challenge,
rp: {
- name: "mindrot.org",
- id: "mindrot.org",
+ name: window.location.host,
+ id: window.location.host,
},
user: {
id: userid,
@@ -590,7 +590,7 @@ async function assertform_submit(event) {
function assertStart(message) {
let assertReqOpts = {
challenge: message,
- rpId: "mindrot.org",
+ rpId: window.location.host,
allowCredentials: [{
type: 'public-key',
id: window.enrollResult.rawId,
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list