-
Notifications
You must be signed in to change notification settings - Fork 8
/
INFO
90 lines (69 loc) · 4.37 KB
/
INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
This library adapts and extends from the WearAuthn app by Fabian Henneke
(https://github.com/FabianHenneke/WearAuthn)
The Authenticator and TransactionManager software are adaptations of some of
WearAuthn's components that have been provisioned to be run on Android OS devices.
These were dettached from the UI/application layer in order to be used as a standalone
strong authenticator library.
The code has been extended to support:
- extra CTAP2 commands as defined in the FIDO2 CTAP specification (e.g. full client PIN)
NOTE: Neither the original Copyright holder nor the contributors to the reference
project endorse this work.
WearAuthn copyright and license info:
=====================================
MIT License
Copyright (c) 2019 Fabian Henneke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This library adapts and extends the Android WebAuthn Authenticator Library provided
by Duo Labs (https://github.com/duo-labs/android-webauthn-authenticator)
The functionality has been improved and extended to:
- directly work with an emulated Bluetooth HID device transport layer
- provide easy message handling, framing and transport layer support mechanisms
- add mandatory strong biometric user verification has been added
- add client PIN support to the authenticator together with the client PIN
crypto locker guarded by the Android KeyStore and strong authentication
- add extension definitions as per CTAP2 spec (e.g. txAuthSimple, hmac-secret)
- add extended credentials management guarded by strong authentication
- add proper U2F support for legacy websites (U2F primitive handling + attestations)
- enhance WebAuthn support via BasicAttestations both in self-signed and full forms
- fix previous bugs and todos
NOTE: Neither the original Copyright holder nor the contributors to the reference
project endorse this work.
Android WebAuthn Authenticator Library copyright and license info:
=====================================
BSD 3-Clause License
Copyright (c) 2019, Duo Labs
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.