<commit_before>require 'spec_helper'

describe file('/root/.ssh/puppet_master') do
  it { should match_sha256checksum 'a02a687d704b1ec0fa47fc0b09533ab2d4498291282a3374944f8a7f8c2f809c' }
end

# connecting to github
# 255 - auth failure
# 1   - ok, github doesn't offer shell
describe command('ssh github.com') do
  it { should return_exit_status 1 }<commit_msg>TEST: SEC-555 Key for github.com puppet_master has been rotated<commit_after>require 'spec_helper'

describe file('/root/.ssh/puppet_master') do
  it { should match_sha256checksum '89fc621505e844b99bfb14f7856b1119bee61dbbec202e346c78a160dda65482' }
end

# connecting to github
# 255 - auth failure
# 1   - ok, github doesn't offer shell
describe command('ssh github.com') do
  it { should return_exit_status 1 }
{'fraction_non_alphanumeric': 0.08419689119170984, 'fraction_numerical': 0.133419689119171, 'mean_word_length': 5.6068376068376065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '940376', 'n_tokens_mistral': 352, 'n_tokens_neox': 274, 'n_words': 68}