Commit Graph

51 Commits

Author SHA1 Message Date
Juhani Krekelä 8bc6e41043 Proofreading 2018-09-08 21:31:05 +03:00
Juhani Krekelä 8e2c595a35 Reword the initial description to be better 2018-09-08 21:16:45 +03:00
Juhani Krekelä 0229d8949a Streamline that section further 2018-09-08 21:03:18 +03:00
Juhani Krekelä ea9127464b Oh, right, shoutcase the name 2018-09-08 21:00:41 +03:00
Juhani Krekelä 2242820951 Reword an awkward part of the manpage 2018-09-08 20:59:22 +03:00
Juhani Krekelä ef51f70342 Add the man page for sshwot-verify 2018-09-08 20:33:10 +03:00
Juhani Krekelä 66075fbaba Fix variable name 2018-09-08 20:01:47 +03:00
Juhani Krekelä 0961a952cb Use the zipapp module of python instead of using zip and manually adding the hashbang 2018-09-08 19:12:43 +03:00
Juhani Krekelä 8c0505a077 Only have 2 return codes: success and failure 2018-09-02 15:39:57 +03:00
Juhani Krekelä 13d74c8d3f Whoops 2018-09-02 15:23:31 +03:00
Juhani Krekelä 5f0d8e8d2d If any fail, return nonzero in sshwot-verify 2018-09-02 15:16:06 +03:00
Juhani Krekelä af2d8413f7 Give different return code if we found nothing in sshwot-filter 2018-09-01 23:57:28 +03:00
Juhani Krekelä c6427722de Whoops 2018-09-01 23:52:57 +03:00
Juhani Krekelä e51875a66b Only use colour on a tty 2018-09-01 23:50:37 +03:00
Juhani Krekelä 12902df924 Whoops 2018-09-01 23:45:12 +03:00
Juhani Krekelä 5d71ff9d73 Only exit with 0 if we actually verified it 2018-09-01 23:43:10 +03:00
Juhani Krekelä c027f5fe53 Whoops 2018-09-01 23:14:42 +03:00
Juhani Krekelä fa4bef4310 Tell where .sshwot files go 2018-09-01 22:54:05 +03:00
Juhani Krekelä 4b8317f36e Only show [same fingerprint] if we haven't verified the host in the same file 2018-09-01 22:50:29 +03:00
Juhani Krekelä 922efa7eea Apparently markdown can't handle that 2018-09-01 22:38:55 +03:00
Juhani Krekelä 7cd275fada Start writing documentation 2018-09-01 22:38:01 +03:00
Juhani Krekelä 973ba3c63a Add sshwot-verify 2018-09-01 22:33:41 +03:00
Juhani Krekelä aee9cec62e Rename src/open_default_files.py → src/default_files.py 2018-09-01 22:05:45 +03:00
Juhani Krekelä 2a1ed46ddd Open the right file 2018-09-01 22:03:31 +03:00
Juhani Krekelä 7754f17cc9 Use .sshwot/*.sshwot by default in sshwot-filter 2018-09-01 21:55:09 +03:00
Juhani Krekelä 013d588537 Use os.path.join 2018-09-01 21:49:11 +03:00
Juhani Krekelä 44bc940675 Chain throws 2018-09-01 21:43:35 +03:00
Juhani Krekelä b40f61b0b5 Implement sshwot-filter 2018-09-01 21:38:08 +03:00
Juhani Krekelä f390da248c Take advantage of the automatic file handling thinfy in argparser 2018-09-01 21:03:17 +03:00
Juhani Krekelä e6b3345421 sshwot-export-known-hosts exports ~/.ssh/known_hosts by default 2018-08-31 20:52:55 +03:00
Juhani Krekelä c1c8890319 Factor error printing into one thing 2018-08-31 20:25:56 +03:00
Juhani Krekelä 3ef3321137 Remove debug prints 2018-08-31 20:22:23 +03:00
Juhani Krekelä 004ec12ec3 Revamp filtering entries 2018-08-31 20:21:08 +03:00
Juhani Krekelä 4a3107a001 Handle the known_hosts format more comprehensively 2018-08-31 20:19:54 +03:00
Juhani Krekelä 2882a43d92 Add a real UI to sshwot-export-known-hosts 2018-08-31 19:48:21 +03:00
Juhani Krekelä 1a3257c870 Have own format for data read from .ssh/known_hosts, in case we want to work on it 2018-08-31 12:17:16 +03:00
Juhani Krekelä 3a9c4baa4b Move to a space-separated format 2018-08-30 00:16:22 +03:00
Juhani Krekelä 5397293f33 Export to stdout by default 2018-08-29 20:46:22 +03:00
Juhani Krekelä 225661e8d5 Don't create a useless bin/ 2018-08-29 20:44:58 +03:00
Juhani Krekelä 71f9bf51a2 Correctly recognize IPv6 addresses 2018-08-29 20:36:46 +03:00
Juhani Krekelä 1e6410a78a Ignore IP(v4)s by default. Add a switch to turn it off later 2018-08-29 15:01:09 +03:00
Juhani Krekelä 9dffd41197 = → := 2018-08-29 14:39:49 +03:00
Juhani Krekelä eb6ab427e4 Add line numbers to parsing errors 2018-08-29 14:04:07 +03:00
Juhani Krekelä 5aea3fc7ee Create a build system 2018-08-29 13:29:38 +03:00
Juhani Krekelä 49576e052d Include the changes made to the format file, too 2018-08-29 13:29:20 +03:00
Juhani Krekelä 9e0696bbdc Move to a text format 2018-08-29 12:32:01 +03:00
Juhani Krekelä e4042c0664 Add support for checking presence of a fingerprint (no UI yet) 2018-08-28 20:42:45 +03:00
Juhani Krekelä 320445ab25 Split the host normalization into its own func and actually handle non-22 port right 2018-08-28 20:14:21 +03:00
Juhani Krekelä 433f9baf31 Read the .sshwot file to memory 2018-08-28 13:51:11 +03:00
Juhani Krekelä 44ae06f84e Fix version number writing 2018-08-28 13:36:43 +03:00