artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
548b81c
)
remove hardcoded domain and use window.location.host, so this can
author
djm
<djm@openbsd.org>
Tue, 11 Jan 2022 22:33:16 +0000
(22:33 +0000)
committer
djm
<djm@openbsd.org>
Tue, 11 Jan 2022 22:33:16 +0000
(22:33 +0000)
be run anywhere
regress/usr.bin/ssh/unittests/sshsig/webauthn.html
patch
|
blob
|
history
diff --git
a/regress/usr.bin/ssh/unittests/sshsig/webauthn.html
b/regress/usr.bin/ssh/unittests/sshsig/webauthn.html
index
1869c8b
..
5c9a32e
100644
(file)
--- a/
regress/usr.bin/ssh/unittests/sshsig/webauthn.html
+++ b/
regress/usr.bin/ssh/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,