Skip to content

Commit

Permalink
Merge pull request #42 from gcochard/fido2-rebase
Browse files Browse the repository at this point in the history
Add Fido2 support
  • Loading branch information
gcochard authored Jun 3, 2022
2 parents 96e5489 + c553039 commit f673313
Show file tree
Hide file tree
Showing 8 changed files with 300 additions and 207 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020, Viasat, Inc.
Copyright 2022, Viasat, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work except in compliance with the License.
Expand All @@ -10,4 +10,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
23 changes: 6 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,15 @@ but the choice is yours.

pip install alohomora

### Optional U2F support installation
### Optional WebAuthN support installation

Alohomora has optional U2F support, which can be installed alongside alohomora using pip:
Alohomora has optional Fido2/WebAuthN support which can be installed alongside alohomora using pip:

pip install alohomora[u2f]
pip install alohomora[fido2]

Please note that this requires a few OS level packages to be installed.
For Centos 7, it requires the following:

yum groupinstall 'Development Tools'
yum install python[2,3]-devel
yum install libusbx-devel
yum install systemd-devel

For Debian based systems, you'll need the following:

apt install build-essential
apt install python[2,3]-dev
apt install libusb-1.0-0-dev
apt install libudev-dev
Please note that this may require a few OS level packages to be installed due to the transitive
dependency on the cryptography package. See the [installation guide](https://cryptography.io/en/latest/installation/)
for instructions specific to your environment.

## Basic Configuration

Expand Down
15 changes: 4 additions & 11 deletions alohomora/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Alohomora helper module"""

# Copyright 2020 Viasat, Inc.
# Copyright 2022 Viasat, Inc.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,19 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function

import sys

try:
input = raw_input
except NameError:
pass

__version__ = '2.4.0'
__author__ = 'Stephan Kemper'
__version__ = '3.0.0'
__author__ = 'Viasat'
__author_email__ = '[email protected]'
__license__ = '(c) 2020 Viasat, Inc. See the LICENSE file for more details.'
__license__ = '(c) 2022 Viasat, Inc. See the LICENSE file for more details.'
__url__ = 'https://github.com/Viasat/alohomora'
__description__ = 'Get AWS API keys for a SAML-federated identity'

Expand Down
4 changes: 1 addition & 3 deletions alohomora/keys.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Handles getting and saving AWS API keys"""

# Copyright 2020 Viasat, Inc.
# Copyright 2022 Viasat, Inc.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function

import os

try:
Expand Down
4 changes: 1 addition & 3 deletions alohomora/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
alohomora console script
'''

# Copyright 2020 Viasat, Inc.
# Copyright 2022 Viasat, Inc.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -16,8 +16,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function

import argparse
import getpass
import logging
Expand Down
Loading

0 comments on commit f673313

Please sign in to comment.