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

Migrate SSH credentials collector to a plugin #3169

Closed
12 tasks done
mssalvatore opened this issue Mar 28, 2023 · 0 comments
Closed
12 tasks done

Migrate SSH credentials collector to a plugin #3169

mssalvatore opened this issue Mar 28, 2023 · 0 comments

Comments

@mssalvatore
Copy link
Collaborator

mssalvatore commented Mar 28, 2023

Description

Migrate the SSH credentials collector to a plugin.#3167
Completion of this issue closes #1882

Tasks

  • Modify SSHKeypair.public_key to be optional (0d) @ilija-lazoroski
  • Migrate the existing collector to a plugin (0d) @mssalvatore
  • Refactor flawed logic (0.25d) @mssalvatore
    • Address TODOs in code
    • Redesign the search file algorithm.
      • Use the passwd library to identify all home directories and .ssh directories
      • For each .ssh directory find all private key files (See this for example how to identify private keys)
      • For each private key attempt to identify a public key (Note: Each private key may not have a public key)
  • Remove the hard-coded SSH credentials collector plugin (0d)
  • Add a jenkins job to build the plugin. @mssalvatore
  • Add the plugin artifact to the Island build jobs
  • Remove any references to hard-coded credentials collectors, their manifests, etc.
@mssalvatore mssalvatore added this to the v2.2.0 milestone Mar 28, 2023
mssalvatore added a commit that referenced this issue May 9, 2023
mssalvatore added a commit that referenced this issue May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant