Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #41

Open
wants to merge 94 commits into
base: lyft-host-certificate-lambda
Choose a base branch
from
Open

Merge #41

wants to merge 94 commits into from

Commits on Dec 22, 2016

  1. fixes #30 : add coveralls for test coverage reporting

    Matthew Aynalem committed Dec 22, 2016
    Configuration menu
    Copy the full SHA
    7271307 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2017

  1. Squashed Lyft Changes

    Chris Steipp committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    69adbb7 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2017

  1. Configuration menu
    Copy the full SHA
    ba6dc07 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2017

  1. Configuration menu
    Copy the full SHA
    17e5336 View commit details
    Browse the repository at this point in the history
  2. Adding a few changes after syncing with lyft's BLESS fork.

    Updated all refrences of bastion_ip to bastion_ips.
    Added some extra checks to the bless_request.
    russell-lewis committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    bc6b3bf View commit details
    Browse the repository at this point in the history
  3. Bumping version number to reflect the change in the BLESS request of …

    …bastion_ip to bastion_ips.
    
    Removing a package from requirements.txt that isn't needed.
    russell-lewis committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    9962238 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    290801b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #34 from lyft/bypass-validity-check

    Added a flag for bypassing validity check
    vivianho authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    55d3561 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a960865 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5f264d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2017

  1. Configuration menu
    Copy the full SHA
    d8befc1 View commit details
    Browse the repository at this point in the history
  2. Updates after pulling in PR#33. Renamed extensions to certificate_ext…

    …ensions and explicitly set the defaults instead of needing ssh_certificate_builder.py to set them.
    russell-lewis committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    79c3463 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #31 from mayn/ISSUE-30

    fixes #30 : add coveralls for test coverage reporting
    russell-lewis authored Mar 1, 2017
    Configuration menu
    Copy the full SHA
    0f68e42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    19cf02f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f75ccf View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. Additional commit for BLESS v.0.2.0 which changes the format of BLESS…

    … Requests and the lambda responses.
    
    Changing BLESS requests from using remote_username to remote_usernames, a comma-separated list.
    remote_usernames can be used for SSH principals specified in an AuthorizedPrincipalsFile (see SSHD_CONFIG(5)).
    Aligning BLESS returns so that Lambda configuration errors raise exceptions, and request errors return a dictionary with either errorType and errorMessage or a certificate.
    Updating the sample BLESS client to deal with the new lambda return values.
    russell-lewis committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    909d955 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #38 from russell-lewis/addressing-open-issues

    Addressing open issues:
    Pulling in contributions from lyft/bless.
    Fixing #27 and #29
    Pulling in #9 by way of lyft/bless.
    Pulling in #33 with explicit defaults in the config.
    Resolving #34 with changes from lyft/bless.
    Bumping version to BLESS v.0.2.0 which changes the format of BLESS Requests and the lambda responses.
    russell-lewis authored Mar 7, 2017
    Configuration menu
    Copy the full SHA
    bf9a364 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2017

  1. Add support to compile dependencies in container

    diasjorge authored and Jorge Dias committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    4d2e674 View commit details
    Browse the repository at this point in the history
  2. Copy lib64 packages

    Jorge Dias committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    c387868 View commit details
    Browse the repository at this point in the history
  3. Update README.md

    diasjorge authored Mar 9, 2017
    Configuration menu
    Copy the full SHA
    07c9866 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2017

  1. Merge pull request #41 from diasjorge/patch-1

    Document permissions required for CA key file
    russell-lewis authored Mar 10, 2017
    Configuration menu
    Copy the full SHA
    fcde42a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #40 from diasjorge/compilation

    Add support to compile dependencies in container
    russell-lewis authored Mar 10, 2017
    Configuration menu
    Copy the full SHA
    b4eadab View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. [HOTFIX] Fixes while merge testing

    Chris Steipp committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    d8e879d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #44 from lyft/hotfix-fixes-for-merge

    Fixes while merge testing
    russell-lewis authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    8df7f6d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2017

  1. Remove unused option 'kms_key_id'

    For decryption the key id is part of the ciphertext.
    benbridts committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    24f4aba View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2017

  1. Merge pull request #46 from ikben/unused-option

    Remove unused option 'kms_key_id'
    russell-lewis authored Mar 21, 2017
    Configuration menu
    Copy the full SHA
    63cbac9 View commit details
    Browse the repository at this point in the history
  2. Decouple configuration from deployment artifact (#45)

    Allow overriding settings with environment variables.
    
    Leveraging the environment variables in AWS Lambda makes it possible to
    include the bless_deploy.cfg in the same repo, without exposing secrets
    or to deploy the same zip with multiple configurations
    
    
    When deploying the same zip in mulitple regions, you can leave out the
    region_passwprd option and set the default_password option with environment
    variables. This allows you the change the same variable in every region
    
    * Add 'ca_private_key' option
    
    This extra option allows passing in the (encrypted) private key directly.
    When setting this with an environment variable it can be used to have one
    zip that can be deployed with different ca's.
    benbridts authored and russell-lewis committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    62fe7fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    485663c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    21a417b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b87bbab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    329e8dc View commit details
    Browse the repository at this point in the history
  7. Refactor username_validation configuration

      * Use enum type and raise exception for wrong value
    diasjorge committed Mar 21, 2017
    Configuration menu
    Copy the full SHA
    c050a48 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f3c7c1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c58b328 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6f91bb6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8e80230 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2017

  1. Enhancing PR#43 to include support for configurable remote_usernames …

    …validation in addition to bastion_user.
    
    Added an email and principal validation option.
    Updated bless_deploy_example with the new options.
    russell-lewis committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    4340737 View commit details
    Browse the repository at this point in the history
  2. Fixing Netflix#48 and moving the expected ca private key path back to…

    … the top level of the published .zip.
    russell-lewis committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    32e4f4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95693c4 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #51 from diasjorge/fix-invalid-environment-variable

    Replace non word characters in environment key
    russell-lewis authored Mar 22, 2017
    Configuration menu
    Copy the full SHA
    e8af1ca View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2017

  1. Revising the certifiace key_id to keep consistency in the key[value] …

    …format.
    
    Updated the lambda log message to match.
    russell-lewis committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    1393a84 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #52 from russell-lewis/update-keyid-and-logs

    Revising the certifiace key_id to keep consistency in the key[value] …
    russell-lewis authored Mar 23, 2017
    Configuration menu
    Copy the full SHA
    7c025fb View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. Thanks to @Stype:

    Update the kmsauth token validation code to verify that all remote_usernames are checked against the offered kmsauth_token.
    russell-lewis committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    c543416 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4aef80c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2017

  1. Configuration menu
    Copy the full SHA
    d8f6d1e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #56 from russell-lewis/fix-typo

    Fixing typos in readme.
    russell-lewis authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    a2cf52d View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2017

  1. Merge pull request #1 from russell-lewis/PR43_enhancements

    Enhancing PR#43.
    diasjorge authored Apr 6, 2017
    Configuration menu
    Copy the full SHA
    6c122ba View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. Merge pull request #43 from diasjorge/username_validation_disabled

    bastion_user and remote_usernames now have configurable validation schemas.  See bless_request.py:USERNAME_VALIDATION_OPTIONS
    russell-lewis authored Apr 19, 2017
    Configuration menu
    Copy the full SHA
    dc02dc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5a1c1f View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2017

  1. Configuration menu
    Copy the full SHA
    7cd1515 View commit details
    Browse the repository at this point in the history
  2. enforce that bastion_user == remote_usernames by default. add config …

    …to allow different remote_usernames
    djcrabhat authored and russell-lewis committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    9ad57e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3b268a6 View commit details
    Browse the repository at this point in the history
  4. eek out some test coverage

    djcrabhat authored and russell-lewis committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    5b452d1 View commit details
    Browse the repository at this point in the history
  5. make sure all requested remote_usernames are allowed to be used

    added positive test mocking kmsauth sucessfully decrypting a token
    djcrabhat authored and russell-lewis committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    cadd803 View commit details
    Browse the repository at this point in the history
  6. Updating the SSH Certificate comment when no public key comment is se…

    …t, so that it better matches the format used when logging.
    russell-lewis committed Jun 8, 2017
    Configuration menu
    Copy the full SHA
    f32b9a1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d2bee45 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2017

  1. Allows username validation against IAM groups

    This change gives the option to validate the remote username against
    the IAM groups containing the user invoking the lambda function. This
    is an optional feature which is used in conjunction with kmsauth.
    
    For example, if there were two groups of users, you could put your
    admins in the ssh-admin IAM group to allow them to generate certificates
    with a remote_username of 'admin'. Users with fewer permissions could be
    in the ssh-user group to allow them to generate certificates for the 'user'
    account.
    
    The group name is configurable, however they must all be in a consistent
    format, and must all contain the relevant remote_username once.
    hughtopping authored and Hugh Topping committed Jun 23, 2017
    Configuration menu
    Copy the full SHA
    fd1d802 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Configuration menu
    Copy the full SHA
    3f37e17 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Configuration menu
    Copy the full SHA
    ed54668 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdde67a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f1e2a30 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2018

  1. Allowing BLESS lambda to accept ed25519 keys, completing https://gith… (

    Netflix#74)
    
    * Allowing BLESS lambda to accept ed25519 keys, completing Netflix#71 .  Thanks @jnewbigin .
    russell-lewis authored Jul 14, 2018
    Configuration menu
    Copy the full SHA
    ba55021 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Moving BLESS to python 3.6. (Netflix#75)

    * Moving BLESS to python 3.6.
    You just need to rebuild, publish, and switch your lambda runtime from 2.7 to 3.6.
    
    * Moving TravisCI to Python3.6 as well.
    russell-lewis authored Jul 25, 2018
    Configuration menu
    Copy the full SHA
    cf26b72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    013dd15 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #62 from hughtopping/master

    Allows username validation against IAM groups
    russell-lewis authored Jul 25, 2018
    Configuration menu
    Copy the full SHA
    cff5544 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e01e1d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    467eaa8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5830630 View commit details
    Browse the repository at this point in the history
  7. Adding a blacklisted remote_usernames option. This would prevent part…

    …icular SSH Authorized Principals from being included in a BLESS certificate.
    russell-lewis committed Jul 25, 2018
    Configuration menu
    Copy the full SHA
    87f9de4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a9ad291 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2018

  1. Merge remote-tracking branch 'avoidik/feature-compressed-key'

    Also cleaned up and added bz2 support to Netflix#67 .
    russell-lewis committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    b685728 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #67 from avoidik/feature-compressed-key

    Compressed CA private key support
    russell-lewis authored Jul 26, 2018
    Configuration menu
    Copy the full SHA
    dfbec61 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2018

  1. Configuration menu
    Copy the full SHA
    0b97ba2 View commit details
    Browse the repository at this point in the history
  2. Bumping to Release v.0.3.0

    Features include:
    Python 3.6 Lambda support
    Caching of the KMS decrypted CA Private Key Password.
    Compressed CA Private Key support, allowing RSA 4096 keys to be set in the Lambda Environment.
    Issue certificates for ED25519 public keys (RSA CA).
    New option to validate the remote username against the IAM groups of the calling user.
    Updated dependencies.
    russell-lewis committed Jul 31, 2018
    Configuration menu
    Copy the full SHA
    f82e2a9 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2018

  1. Configuration menu
    Copy the full SHA
    242a586 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed85a7f View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2019

  1. Add link to Amazon Linux repository

    I had to go and discover the right link. I'd like to save that trouble for other readers.
    pkoch authored Apr 23, 2019
    Configuration menu
    Copy the full SHA
    910f8f9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Netflix#88 from pkoch/patch-1

    Add link to Amazon Linux repository
    hosseinsh authored Apr 23, 2019
    Configuration menu
    Copy the full SHA
    679fe9c View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Remove the -it flag from lambda-deps docker build

    The flag is not needed and breaks scripts if the input device does not have a TTY
    asiragusa authored and russell-lewis committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f04f83a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7b454a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d92a03 View commit details
    Browse the repository at this point in the history
  4. Resolving Netflix#80 .

    russell-lewis committed May 20, 2019
    Configuration menu
    Copy the full SHA
    7ca78b4 View commit details
    Browse the repository at this point in the history
  5. Typo on #133

    * Plus minor formatting proposals
    kant authored and russell-lewis committed May 20, 2019
    Configuration menu
    Copy the full SHA
    cad1dbf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    68a45d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9a310ca View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Configuration menu
    Copy the full SHA
    36fc01b View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'pecigonzalo/feature/split_host_provider…

    …' into lambda-host-split.
    russell-lewis committed May 21, 2019
    Configuration menu
    Copy the full SHA
    d77ed00 View commit details
    Browse the repository at this point in the history
  3. Refactored Netflix#79 and split out user and host lambda handlers and…

    … request schemas.
    
    You can now use bless_lambda_user.lambda_handler_user for user cert requests and bless_lambda_host.lambda_handler_host for host cert requests.  Please note that as implemented, anyone who can call the host lambda can obtain host certs for any hostname.
    russell-lewis committed May 21, 2019
    Configuration menu
    Copy the full SHA
    3d8b0c9 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Merge pull request Netflix#94 from russell-lewis/lambda-host-split

    In addition to bless_lambda.lambda_handler, you can now use bless_lambda_user.lambda_handler_user for user cert requests and bless_lambda_host.lambda_handler_host for host cert requests.  Please note that as implemented, anyone who can call the host lambda can obtain host certs for any hostname.
    russell-lewis authored May 22, 2019
    Configuration menu
    Copy the full SHA
    c03b8d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03666f8 View commit details
    Browse the repository at this point in the history
  3. Bumping to Release v.0.4.0

    Features include:
    New support for a Host SSH Certificate Lambda.  Please consider how you will control who can obtain host certs for which hostnames before using.
    Updated publishing code to build with the latest Amazon Linux 2.
    Validated for Python 3.7 Lambda runtime.
    Updated dependencies.
    Various typo fixes.
    russell-lewis committed May 22, 2019
    Configuration menu
    Copy the full SHA
    a207d1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    80f3c1b View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Merge pull request #39 from lyft/refresh-netflix-code

    Pull upstream changes in netflix/bless into lyft's fork lyft/bless
    Ryan Lane authored Dec 10, 2019
    Configuration menu
    Copy the full SHA
    8527924 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Wip

    surbhishah committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    fde260b View commit details
    Browse the repository at this point in the history