Skip to content

Commit cabbe73

Browse files
authored
Merge pull request #740 from oracle/release_2024-01-11
Releasing version 3.37.3
2 parents 9a7962f + aae6466 commit cabbe73

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
3.37.3 - 2024-01-10
10+
--------------------
11+
Fixed
12+
~~~~~
13+
* Reverted YubiKey authentication
14+
15+
916
3.37.2 - 2024-01-09
1017
--------------------
1118
Added

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Jinja2==3.0.3
1414
jmespath==0.10.0
1515
ndg-httpsclient==0.4.2
1616
mock==2.0.0
17-
oci==2.118.1
17+
oci==2.118.2
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.11.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def open_relative(*path):
3030
readme = f.read()
3131

3232
requires = [
33-
'oci==2.118.1',
33+
'oci==2.118.2',
3434
'arrow>=1.0.0',
3535
'certifi',
3636
'click==8.0.4',

src/oci_cli/cli_constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
OCI_CLI_AUTH_RESOURCE_PRINCIPAL = 'resource_principal'
1919
OCI_CLI_AUTH_INSTANCE_OBO_USER = 'instance_obo_user'
2020
OCI_CLI_AUTH_API_KEY = 'api_key'
21-
OCI_CLI_AUTH_YUBIKEY = 'yubi_key'
2221
OCI_CLI_AUTH_SESSION_TOKEN = 'security_token'
2322
OCI_CLI_UPST_TOKEN_MAX_TTL = '60'
2423
OCI_CLI_UPST_TOKEN_MIN_TTL = '5'

src/oci_cli/cli_root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# important security information.
4444
logging.basicConfig(level=logging.WARN)
4545

46-
OCI_CLI_AUTH_CHOICES = [cli_constants.OCI_CLI_AUTH_API_KEY, cli_constants.OCI_CLI_AUTH_INSTANCE_PRINCIPAL, cli_constants.OCI_CLI_AUTH_SESSION_TOKEN, cli_constants.OCI_CLI_AUTH_INSTANCE_OBO_USER, cli_constants.OCI_CLI_AUTH_RESOURCE_PRINCIPAL, cli_constants.OCI_CLI_AUTH_YUBIKEY]
46+
OCI_CLI_AUTH_CHOICES = [cli_constants.OCI_CLI_AUTH_API_KEY, cli_constants.OCI_CLI_AUTH_INSTANCE_PRINCIPAL, cli_constants.OCI_CLI_AUTH_SESSION_TOKEN, cli_constants.OCI_CLI_AUTH_INSTANCE_OBO_USER, cli_constants.OCI_CLI_AUTH_RESOURCE_PRINCIPAL]
4747

4848
OCI_HELP = 'Oracle Cloud Infrastructure command line interface'
4949

src/oci_cli/cli_util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ def create_config_and_signer_based_on_click_context(ctx):
353353
resource_principal_auth = 'auth' in ctx.obj and ctx.obj['auth'] == cli_constants.OCI_CLI_AUTH_RESOURCE_PRINCIPAL
354354
session_token_auth = 'auth' in ctx.obj and ctx.obj['auth'] == cli_constants.OCI_CLI_AUTH_SESSION_TOKEN
355355
delegation_token_auth = 'auth' in ctx.obj and ctx.obj['auth'] == cli_constants.OCI_CLI_AUTH_INSTANCE_OBO_USER
356-
yubikey_auth = 'auth' in ctx.obj and ctx.obj['auth'] == cli_constants.OCI_CLI_AUTH_YUBIKEY
357356

358357
signer = None
359358
kwargs = {}
@@ -425,11 +424,6 @@ def create_config_and_signer_based_on_click_context(ctx):
425424
if ctx.obj['debug']:
426425
logger.debug("auth: resource_principal")
427426
signer = oci.auth.signers.resource_principals_signer.get_resource_principals_signer()
428-
elif yubikey_auth:
429-
if ctx.obj['debug']:
430-
logger.debug("auth: yubi_key")
431-
yk_pin = oci.auth.signers.YubikeyRequestSigner.get_yubikey_pin()
432-
signer = oci.auth.signers.YubikeyRequestSigner.get_yubikey_signer(client_config, yk_pin)
433427
kwargs['signer'] = signer
434428

435429
try:

src/oci_cli/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
33
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
44

5-
__version__ = '3.37.2'
5+
__version__ = '3.37.3'

0 commit comments

Comments
 (0)