NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/lib/WebAuthn/Attestation/AttestationObject.php

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

AttestationObject.php on main
Author Date Commit Line Code
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2
Open commit View diff
2
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
3
namespace lbuchs\WebAuthn\Attestation;
Open commit View diff
3 namespace lbuchs\WebAuthn\Attestation;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
4
use lbuchs\WebAuthn\WebAuthnException;
Open commit View diff
4 use lbuchs\WebAuthn\WebAuthnException;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
5
use lbuchs\WebAuthn\CBOR\CborDecoder;
Open commit View diff
5 use lbuchs\WebAuthn\CBOR\CborDecoder;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
6
use lbuchs\WebAuthn\Binary\ByteBuffer;
Open commit View diff
6 use lbuchs\WebAuthn\Binary\ByteBuffer;
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
7
Open commit View diff
7
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
8
/**
Open commit View diff
8 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
9
 * @author Lukas Buchs
Open commit View diff
9 * @author Lukas Buchs
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
10
 * @license https://github.com/lbuchs/WebAuthn/blob/master/LICENSE MIT
Open commit View diff
10 * @license https://github.com/lbuchs/WebAuthn/blob/master/LICENSE MIT
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
11
 */
Open commit View diff
11 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
12
class AttestationObject {
Open commit View diff
12 class AttestationObject {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
13
    private $_authenticatorData;
Open commit View diff
13 private $_authenticatorData;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
14
    private $_attestationFormat;
Open commit View diff
14 private $_attestationFormat;
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
15
    private $_attestationFormatName;
Open commit View diff
15 private $_attestationFormatName;
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
16
Open commit View diff
16
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
17
    public function __construct($binary , $allowedFormats) {
Open commit View diff
17 public function __construct($binary , $allowedFormats) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
18
        $enc = CborDecoder::decode($binary);
Open commit View diff
18 $enc = CborDecoder::decode($binary);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
19
        // validation
Open commit View diff
19 // validation
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
20
        if (!\is_array($enc) || !\array_key_exists('fmt', $enc) || !is_string($enc['fmt'])) {
Open commit View diff
20 if (!\is_array($enc) || !\array_key_exists('fmt', $enc) || !is_string($enc['fmt'])) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
21
            throw new WebAuthnException('invalid attestation format', WebAuthnException::INVALID_DATA);
Open commit View diff
21 throw new WebAuthnException('invalid attestation format', WebAuthnException::INVALID_DATA);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
22
        }
Open commit View diff
22 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
23
Open commit View diff
23
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
24
        if (!\array_key_exists('attStmt', $enc) || !\is_array($enc['attStmt'])) {
Open commit View diff
24 if (!\array_key_exists('attStmt', $enc) || !\is_array($enc['attStmt'])) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
25
            throw new WebAuthnException('invalid attestation format (attStmt not available)', WebAuthnException::INVALID_DATA);
Open commit View diff
25 throw new WebAuthnException('invalid attestation format (attStmt not available)', WebAuthnException::INVALID_DATA);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
26
        }
Open commit View diff
26 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
27
Open commit View diff
27
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
28
        if (!\array_key_exists('authData', $enc) || !\is_object($enc['authData']) || !($enc['authData'] instanceof ByteBuffer)) {
Open commit View diff
28 if (!\array_key_exists('authData', $enc) || !\is_object($enc['authData']) || !($enc['authData'] instanceof ByteBuffer)) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
29
            throw new WebAuthnException('invalid attestation format (authData not available)', WebAuthnException::INVALID_DATA);
Open commit View diff
29 throw new WebAuthnException('invalid attestation format (authData not available)', WebAuthnException::INVALID_DATA);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
30
        }
Open commit View diff
30 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
31
Open commit View diff
31
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
32
        $this->_authenticatorData = new AuthenticatorData($enc['authData']->getBinaryString());
Open commit View diff
32 $this->_authenticatorData = new AuthenticatorData($enc['authData']->getBinaryString());
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
33
        $this->_attestationFormatName = $enc['fmt'];
Open commit View diff
33 $this->_attestationFormatName = $enc['fmt'];
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
34
Open commit View diff
34
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
35
        // Format ok?
Open commit View diff
35 // Format ok?
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
36
        if (!in_array($this->_attestationFormatName, $allowedFormats)) {
Open commit View diff
36 if (!in_array($this->_attestationFormatName, $allowedFormats)) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
37
            throw new WebAuthnException('invalid atttestation format: ' . $this->_attestationFormatName, WebAuthnException::INVALID_DATA);
Open commit View diff
37 throw new WebAuthnException('invalid atttestation format: ' . $this->_attestationFormatName, WebAuthnException::INVALID_DATA);
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
38
        }
Open commit View diff
38 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
39
Open commit View diff
39
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
40
Open commit View diff
40
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
41
        switch ($this->_attestationFormatName) {
Open commit View diff
41 switch ($this->_attestationFormatName) {
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
42
            case 'android-key': $this->_attestationFormat = new Format\AndroidKey($enc, $this->_authenticatorData); break;
Open commit View diff
42 case 'android-key': $this->_attestationFormat = new Format\AndroidKey($enc, $this->_authenticatorData); break;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
43
            case 'android-safetynet': $this->_attestationFormat = new Format\AndroidSafetyNet($enc, $this->_authenticatorData); break;
Open commit View diff
43 case 'android-safetynet': $this->_attestationFormat = new Format\AndroidSafetyNet($enc, $this->_authenticatorData); break;
andryyy over 5 years ago 46643af

[Web] FIDO2: Add Face ID via Apple

Full commit hash
46643af00c8a8612081b933e027541838245b578
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
44
            case 'apple': $this->_attestationFormat = new Format\Apple($enc, $this->_authenticatorData); break;
Open commit View diff
44 case 'apple': $this->_attestationFormat = new Format\Apple($enc, $this->_authenticatorData); break;
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
45
            case 'fido-u2f': $this->_attestationFormat = new Format\U2f($enc, $this->_authenticatorData); break;
Open commit View diff
45 case 'fido-u2f': $this->_attestationFormat = new Format\U2f($enc, $this->_authenticatorData); break;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
46
            case 'none': $this->_attestationFormat = new Format\None($enc, $this->_authenticatorData); break;
Open commit View diff
46 case 'none': $this->_attestationFormat = new Format\None($enc, $this->_authenticatorData); break;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
47
            case 'packed': $this->_attestationFormat = new Format\Packed($enc, $this->_authenticatorData); break;
Open commit View diff
47 case 'packed': $this->_attestationFormat = new Format\Packed($enc, $this->_authenticatorData); break;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
48
            case 'tpm': $this->_attestationFormat = new Format\Tpm($enc, $this->_authenticatorData); break;
Open commit View diff
48 case 'tpm': $this->_attestationFormat = new Format\Tpm($enc, $this->_authenticatorData); break;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
49
            default: throw new WebAuthnException('invalid attestation format: ' . $enc['fmt'], WebAuthnException::INVALID_DATA);
Open commit View diff
49 default: throw new WebAuthnException('invalid attestation format: ' . $enc['fmt'], WebAuthnException::INVALID_DATA);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
50
        }
Open commit View diff
50 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
51
    }
Open commit View diff
51 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
52
Open commit View diff
52
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
53
    /**
Open commit View diff
53 /**
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
54
     * returns the attestation format name
Open commit View diff
54 * returns the attestation format name
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
55
     * @return string
Open commit View diff
55 * @return string
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
56
     */
Open commit View diff
56 */
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
57
    public function getAttestationFormatName() {
Open commit View diff
57 public function getAttestationFormatName() {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
58
        return $this->_attestationFormatName;
Open commit View diff
58 return $this->_attestationFormatName;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
59
    }
Open commit View diff
59 }
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
60
Open commit View diff
60
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
61
    /**
Open commit View diff
61 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
62
     * returns the attestation public key in PEM format
Open commit View diff
62 * returns the attestation public key in PEM format
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
63
     * @return AuthenticatorData
Open commit View diff
63 * @return AuthenticatorData
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
64
     */
Open commit View diff
64 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
65
    public function getAuthenticatorData() {
Open commit View diff
65 public function getAuthenticatorData() {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
66
        return $this->_authenticatorData;
Open commit View diff
66 return $this->_authenticatorData;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
67
    }
Open commit View diff
67 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
68
Open commit View diff
68
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
69
    /**
Open commit View diff
69 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
70
     * returns the certificate chain as PEM
Open commit View diff
70 * returns the certificate chain as PEM
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
71
     * @return string|null
Open commit View diff
71 * @return string|null
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
72
     */
Open commit View diff
72 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
73
    public function getCertificateChain() {
Open commit View diff
73 public function getCertificateChain() {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
74
        return $this->_attestationFormat->getCertificateChain();
Open commit View diff
74 return $this->_attestationFormat->getCertificateChain();
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
75
    }
Open commit View diff
75 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
76
Open commit View diff
76
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
77
    /**
Open commit View diff
77 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
78
     * return the certificate issuer as string
Open commit View diff
78 * return the certificate issuer as string
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
79
     * @return string
Open commit View diff
79 * @return string
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
80
     */
Open commit View diff
80 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
81
    public function getCertificateIssuer() {
Open commit View diff
81 public function getCertificateIssuer() {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
82
        $pem = $this->getCertificatePem();
Open commit View diff
82 $pem = $this->getCertificatePem();
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
83
        $issuer = '';
Open commit View diff
83 $issuer = '';
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
84
        if ($pem) {
Open commit View diff
84 if ($pem) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
85
            $certInfo = \openssl_x509_parse($pem);
Open commit View diff
85 $certInfo = \openssl_x509_parse($pem);
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
86
            if (\is_array($certInfo) && \array_key_exists('issuer', $certInfo) && \is_array($certInfo['issuer'])) {
Open commit View diff
86 if (\is_array($certInfo) && \array_key_exists('issuer', $certInfo) && \is_array($certInfo['issuer'])) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
87
Open commit View diff
87
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
88
                $cn = $certInfo['issuer']['CN'] ?? '';
Open commit View diff
88 $cn = $certInfo['issuer']['CN'] ?? '';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
89
                $o = $certInfo['issuer']['O'] ?? '';
Open commit View diff
89 $o = $certInfo['issuer']['O'] ?? '';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
90
                $ou = $certInfo['issuer']['OU'] ?? '';
Open commit View diff
90 $ou = $certInfo['issuer']['OU'] ?? '';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
91
Open commit View diff
91
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
92
                if ($cn) {
Open commit View diff
92 if ($cn) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
93
                    $issuer .= $cn;
Open commit View diff
93 $issuer .= $cn;
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
94
                }
Open commit View diff
94 }
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
95
                if ($issuer && ($o || $ou)) {
Open commit View diff
95 if ($issuer && ($o || $ou)) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
96
                    $issuer .= ' (' . trim($o . ' ' . $ou) . ')';
Open commit View diff
96 $issuer .= ' (' . trim($o . ' ' . $ou) . ')';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
97
                } else {
Open commit View diff
97 } else {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
98
                    $issuer .= trim($o . ' ' . $ou);
Open commit View diff
98 $issuer .= trim($o . ' ' . $ou);
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
99
                }
Open commit View diff
99 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
100
            }
Open commit View diff
100 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
101
        }
Open commit View diff
101 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
102
Open commit View diff
102
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
103
        return $issuer;
Open commit View diff
103 return $issuer;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
104
    }
Open commit View diff
104 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
105
Open commit View diff
105
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
106
    /**
Open commit View diff
106 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
107
     * return the certificate subject as string
Open commit View diff
107 * return the certificate subject as string
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
108
     * @return string
Open commit View diff
108 * @return string
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
109
     */
Open commit View diff
109 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
110
    public function getCertificateSubject() {
Open commit View diff
110 public function getCertificateSubject() {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
111
        $pem = $this->getCertificatePem();
Open commit View diff
111 $pem = $this->getCertificatePem();
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
112
        $subject = '';
Open commit View diff
112 $subject = '';
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
113
        if ($pem) {
Open commit View diff
113 if ($pem) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
114
            $certInfo = \openssl_x509_parse($pem);
Open commit View diff
114 $certInfo = \openssl_x509_parse($pem);
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
115
            if (\is_array($certInfo) && \array_key_exists('subject', $certInfo) && \is_array($certInfo['subject'])) {
Open commit View diff
115 if (\is_array($certInfo) && \array_key_exists('subject', $certInfo) && \is_array($certInfo['subject'])) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
116
Open commit View diff
116
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
117
                $cn = $certInfo['subject']['CN'] ?? '';
Open commit View diff
117 $cn = $certInfo['subject']['CN'] ?? '';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
118
                $o = $certInfo['subject']['O'] ?? '';
Open commit View diff
118 $o = $certInfo['subject']['O'] ?? '';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
119
                $ou = $certInfo['subject']['OU'] ?? '';
Open commit View diff
119 $ou = $certInfo['subject']['OU'] ?? '';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
120
Open commit View diff
120
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
121
                if ($cn) {
Open commit View diff
121 if ($cn) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
122
                    $subject .= $cn;
Open commit View diff
122 $subject .= $cn;
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
123
                }
Open commit View diff
123 }
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
124
                if ($subject && ($o || $ou)) {
Open commit View diff
124 if ($subject && ($o || $ou)) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
125
                    $subject .= ' (' . trim($o . ' ' . $ou) . ')';
Open commit View diff
125 $subject .= ' (' . trim($o . ' ' . $ou) . ')';
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
126
                } else {
Open commit View diff
126 } else {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
127
                    $subject .= trim($o . ' ' . $ou);
Open commit View diff
127 $subject .= trim($o . ' ' . $ou);
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
128
                }
Open commit View diff
128 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
129
            }
Open commit View diff
129 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
130
        }
Open commit View diff
130 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
131
Open commit View diff
131
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
132
        return $subject;
Open commit View diff
132 return $subject;
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
133
    }
Open commit View diff
133 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
134
Open commit View diff
134
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
135
    /**
Open commit View diff
135 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
136
     * returns the key certificate in PEM format
Open commit View diff
136 * returns the key certificate in PEM format
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
137
     * @return string
Open commit View diff
137 * @return string
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
138
     */
Open commit View diff
138 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
139
    public function getCertificatePem() {
Open commit View diff
139 public function getCertificatePem() {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
140
        return $this->_attestationFormat->getCertificatePem();
Open commit View diff
140 return $this->_attestationFormat->getCertificatePem();
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
141
    }
Open commit View diff
141 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
142
Open commit View diff
142
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
143
    /**
Open commit View diff
143 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
144
     * checks validity of the signature
Open commit View diff
144 * checks validity of the signature
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
145
     * @param string $clientDataHash
Open commit View diff
145 * @param string $clientDataHash
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
146
     * @return bool
Open commit View diff
146 * @return bool
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
147
     * @throws WebAuthnException
Open commit View diff
147 * @throws WebAuthnException
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
148
     */
Open commit View diff
148 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
149
    public function validateAttestation($clientDataHash) {
Open commit View diff
149 public function validateAttestation($clientDataHash) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
150
        return $this->_attestationFormat->validateAttestation($clientDataHash);
Open commit View diff
150 return $this->_attestationFormat->validateAttestation($clientDataHash);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
151
    }
Open commit View diff
151 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
152
Open commit View diff
152
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
153
    /**
Open commit View diff
153 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
154
     * validates the certificate against root certificates
Open commit View diff
154 * validates the certificate against root certificates
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
155
     * @param array $rootCas
Open commit View diff
155 * @param array $rootCas
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
156
     * @return boolean
Open commit View diff
156 * @return boolean
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
157
     * @throws WebAuthnException
Open commit View diff
157 * @throws WebAuthnException
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
158
     */
Open commit View diff
158 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
159
    public function validateRootCertificate($rootCas) {
Open commit View diff
159 public function validateRootCertificate($rootCas) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
160
        return $this->_attestationFormat->validateRootCertificate($rootCas);
Open commit View diff
160 return $this->_attestationFormat->validateRootCertificate($rootCas);
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
161
    }
Open commit View diff
161 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
162
Open commit View diff
162
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
163
    /**
Open commit View diff
163 /**
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
164
     * checks if the RpId-Hash is valid
Open commit View diff
164 * checks if the RpId-Hash is valid
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
165
     * @param string$rpIdHash
Open commit View diff
165 * @param string$rpIdHash
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
166
     * @return bool
Open commit View diff
166 * @return bool
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
167
     */
Open commit View diff
167 */
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
168
    public function validateRpIdHash($rpIdHash) {
Open commit View diff
168 public function validateRpIdHash($rpIdHash) {
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
169
        return $rpIdHash === $this->_authenticatorData->getRpIdHash();
Open commit View diff
169 return $rpIdHash === $this->_authenticatorData->getRpIdHash();
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
170
    }
Open commit View diff
170 }
same change c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
171
}
Open commit View diff
171 }