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

custom path for hostkeys #163

Merged
merged 2 commits into from
May 19, 2020
Merged

custom path for hostkeys #163

merged 2 commits into from
May 19, 2020

Conversation

micheelengronne
Copy link
Member

Do the attributes work in libraries ? Are they called the way I did ?

Signed-off-by: Michée Lengronne <[email protected]>
Signed-off-by: Michée Lengronne <[email protected]>
Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @micheelengronne

@micheelengronne micheelengronne merged commit fef3eb4 into master May 19, 2020
@micheelengronne micheelengronne deleted the micheelengronne-patch-2 branch May 19, 2020 14:08
@chbiel
Copy link
Contributor

chbiel commented May 20, 2020

Good morning,
we experience the following problem with this version:

×  sshd-14: Server: Specify SSH HostKeys
   ×  SSHD Configuration HostKey
   undefined local variable or method `sshd_custom_path' for ssh_crypto:#<Class:0x0000000006e25058>

can you help out?

@chris-rock
Copy link
Member

@chbiel Yeah, I see. This is a bug. Can you file a new ticket. The variable needs to be fetched properly. Until then I recommend to use the latest version before that release.

@chbiel
Copy link
Contributor

chbiel commented May 20, 2020

thanks, I will create it.
maybe a dumb question but is there an easy way provided by inspect to use a specific tag?

currently we run

inspec exec https://github.com/dev-sec/ssh-baseline.git --attrs /tmp/spec/global/attributes/ssh-baseline.yaml \
  --no-distinct-exit \
  --no-interactive \
  --no-color

is there something like inspec exec https://github.com/dev-sec/ssh-baseline.git#2.5.3 I am not aware of?
Thanks in advance

@chris-rock
Copy link
Member

Yes you can. Back then when I built the feature in InSpec, I made it so that you can copy paste the github url:

inspec exec https://github.com/dev-sec/ssh-baseline/tree/2.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants