sshfp-records.toml 993 B

12345678910111213141516171819202122232425262728
  1. # SSHFP record successes
  2. [[cmd]]
  3. name = "Running with ‘sshfp.example’ prints the correct SSHFP record"
  4. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 SSHFP sshfp.example"
  5. stdout = { file = "outputs/sshfp.example.ansitxt" }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ "sshfp", "madns" ]
  9. # SSHFP record invalid packets
  10. [[cmd]]
  11. name = "Running with ‘empty.sshfp.invalid’ displays a protocol error"
  12. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 SSHFP empty.sshfp.invalid"
  13. stdout = { empty = true }
  14. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  15. status = 1
  16. tags = [ "sshfp", "madns" ]
  17. [[cmd]]
  18. name = "Running with ‘incomplete.sshfp.invalid’ displays a protocol error"
  19. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 SSHFP incomplete.sshfp.invalid"
  20. stdout = { empty = true }
  21. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  22. status = 1
  23. tags = [ "sshfp", "madns" ]