Authen-WebAuthn
view release on metacpan or search on metacpan
lib/Authen/WebAuthn.pm view on Meta::CPAN
return {
userPresent => ( ( $bits & 1 ) == 1 ),
userVerified => ( ( $bits & 4 ) == 4 ),
atIncluded => ( ( $bits & 64 ) == 64 ),
edIncluded => ( ( $bits & 128 ) == 128 ),
};
}
sub getAttestationObject {
my ($dat) = @_;
my $decoded = decode_base64url($dat);
my $res = {};
my $h = decode_cbor($decoded);
$res->{authData} = getAuthData( $h->{authData} );
$res->{authDataRaw} = $h->{authData};
$res->{attStmt} = $h->{attStmt};
$res->{fmt} = $h->{fmt};
return $res;
}
# https://www.w3.org/TR/webauthn-2/#sctn-none-attestation
sub attest_none {
my (
( run in 1.660 second using v1.01-cache-2.11-cpan-26ccb49234f )