Commit Graph

  • a68e092593 Add option to toggle between CA and TOFU certificate validation. Solderpunk 2020-05-19 23:14:09 +0200
  • ec07491578 Check alternative subject names. Solderpunk 2020-05-17 22:36:10 +0200
  • 094e3117c4 Better reporting of certificate errors. Solderpunk 2020-05-17 22:36:00 +0200
  • 9ce8d2481a Use cryptography library to do better certificate checking, if it's available. Solderpunk 2020-05-17 20:38:06 +0200
  • ca1a0a62e6 Cache certificates to disk in the expectation of more advanced cert wrangling in future. Solderpunk 2020-05-17 18:35:35 +0200
  • 68e55d245a Add AV-98 contributors, in place of VF-1 contributors. Solderpunk 2020-05-17 17:57:34 +0200
  • 991de05512 Immediately commit all changes to the TOFU DB, so it gets unlocked and multiple clients can access it at once. Solderpunk 2020-05-17 14:02:36 +0200
  • 13f885c226 Make transient clients expire after 1 day, not 365! Solderpunk 2020-05-17 12:18:09 +0200
  • d1412377da Initial implementation of TOFU security model. Solderpunk 2020-05-16 18:58:53 +0200
  • cbd1ff48e9 Merge pull request 'Limit server header response length' (#9) from jprjr/AV-98:header-limit into master solderpunk 2020-05-16 12:54:00 -0400
  • 78e0134c8a spec states meta max length is 1024 jprjr 2020-05-16 13:59:05 +0000
  • 0b79cd174f enforce a maximum header line length jprjr 2020-05-16 13:58:33 +0000
  • 3769ddebc6 Merge pull request 'Add command to search GUS' (#8) from vee/AV-98:vee/gus into master solderpunk 2020-05-15 17:47:14 -0400
  • c174836159 Add command to search GUS Vee 2020-05-15 07:38:51 -0400
  • d828965979 Fix bug introduced when refactoring rcfile path wrangling. Solderpunk 2020-05-14 09:37:12 +0200
  • 08bc6e2102 Don't do client certificates in restricted mode. Solderpunk 2020-05-12 22:23:22 +0200
  • 8af6d9e478 Better presentation of query prompts. Solderpunk 2020-05-12 22:00:35 +0200
  • 74d8511474 Properly escape query text before putting it into a URL. Solderpunk 2020-05-12 22:00:17 +0200
  • 42e81ee859 Don't assume a gopher-to-gemini proxy is running on localhost by default. Solderpunk 2020-05-12 21:20:36 +0200
  • a05ecfad4f Add easy loading of previously generated certs. Solderpunk 2020-05-11 23:27:48 +0200
  • 676ab85a9e Add support for transient client certificates. Solderpunk 2020-05-11 22:22:24 +0200
  • cf92e12653 Make locations of files more consistent. Solderpunk 2020-05-10 22:51:33 +0200
  • 0d49b3e859 Put bookmark and rc files in same location as certificates. Solderpunk 2020-05-10 18:53:31 +0200
  • 34cfa54de6 Tiny tweak to Macros -> Patlabor theme change. :) Solderpunk 2020-05-10 18:47:07 +0200
  • 94e796ee5e Opt out of transient certs for now, better messaging about certificates. Solderpunk 2020-05-10 18:46:16 +0200
  • e0552df853 Add support for generating client certs (if openssl is installed). Solderpunk 2020-05-10 17:25:03 +0200
  • d4e9feebc5 Small bugfix. Solderpunk 2020-05-10 17:00:30 +0200
  • 24563acf6d Give 'cert' command a menu interface, and trigger a similar interface in response to status codes 6x. Solderpunk 2020-05-10 16:09:54 +0200
  • b272a563cb Use ansiwrap if available. Solderpunk 2020-05-10 15:02:24 +0200
  • 28cf34e585 Add version info. Closes #1. Solderpunk 2020-05-10 14:34:48 +0200
  • d8ef677ab1 Make sure supplied filenames exist. Solderpunk 2020-05-10 14:26:47 +0200
  • cbb7b3fd6c Offer to reload previously used certificates for domains visited earlier. Solderpunk 2020-05-10 14:19:12 +0200
  • d04c472600 Reduce code duplication. Solderpunk 2020-05-10 14:17:35 +0200
  • cd2faaa958 Fix input parsing bug. Solderpunk 2020-05-10 14:17:20 +0200
  • 6cb9f6a65e Nicer prompts. Solderpunk 2020-05-10 14:17:07 +0200
  • 3207f8b382 Reduce code duplication. Solderpunk 2020-05-10 13:48:25 +0200
  • 6bb2e20e69 Try to prevent 'certificate leaks' when visiting a new domain with an active client cert. Solderpunk 2020-05-10 13:44:40 +0200
  • a2aff0d2a5 Move client certificate details out of the options dictionary and into their own, so that the 'cert' and 'set' commands don't become parallel interfaces to the same config. Solderpunk 2020-05-10 12:59:26 +0200
  • 6d4c8e2dc9 First stab at putting an interactive interface on client certificates. Solderpunk 2020-05-10 12:35:46 +0200
  • f6f0c5d34a Various inscrutible TLS changes. Solderpunk 2020-04-12 21:20:29 +0200
  • 8b3e77fa41 Add restricted mode for gemini.circumlunar.space kiosk. Solderpunk 2020-04-07 22:46:05 +0200
  • 8e5e175a7e Fix TLS for Python 3.8. See #6. Solderpunk 2020-04-02 22:15:39 +0200
  • c934237cbe Enhance bookmarks command to accept a numeric index. Closes #4. Solderpunk 2020-03-24 20:41:37 +0100
  • d5831a131d Merge pull request 'Add support for TLS client certificates' (#5) from michael-lazar/AV-98:client_certificates into master solderpunk 2020-03-24 15:11:49 -0400
  • b078e4315d Add support for TLS client certificates Michael Lazar 2020-03-22 22:12:00 -0400
  • a701145459 Handle unorderd items and headings. Solderpunk 2020-03-07 21:30:34 +0100
  • 7f89b94f25 Handle preformatted content. Solderpunk 2020-03-07 21:11:49 +0100
  • 6c017f3b96 Wrap long lines. Solderpunk 2020-02-03 21:34:17 +0100
  • c0f4c8eae4 Open HTTP(S) links in the system browser. Solderpunk 2019-11-05 19:58:04 +0200
  • 0fdf9ac473 Don't clobber https scheme of absolute URLs when normalising. Solderpunk 2019-11-05 19:57:29 +0200
  • dc6c64c741 Fix redirect logic, and handle permanent redirects. Solderpunk 2019-10-15 22:12:32 +0300
  • 8c5c779415 Permit manual control of redirects. Solderpunk 2019-10-14 19:47:02 +0300
  • a0e4acf352 Try not to get trapped by excessive or looping redirects. Solderpunk 2019-10-13 20:42:04 +0300
  • 9e6fecc0d8 Merge branch 'master' of lel/AV-98 into master solderpunk 2019-10-06 10:36:07 -0400
  • 210d0459eb Simplify trailing slash handling to make going up work lel 2019-09-28 03:28:01 -0400
  • 7997c40e94 Simplify handling of going up from root lel 2019-09-28 03:22:01 -0400
  • 620800c9da Fix separate unrelated crash when going up from root lel 2019-09-28 02:40:18 -0400
  • 3d8eecd346 Fix crash when going up from root lel 2019-09-28 02:39:42 -0400
  • 12587685d4 Add newline to string formatting lel 2019-09-28 02:04:45 -0400
  • 998b25cdb6 Try to get Python 3.4 working... Solderpunk 2019-08-25 16:26:45 +0300
  • 7852a3f544 Fix bookmarking, again. Solderpunk 2019-08-18 23:29:45 +0300
  • afc4d7e8fd TLS hardening. Solderpunk 2019-08-18 22:59:49 +0300
  • f6a8f20a07 Fix bookmarking. Solderpunk 2019-08-18 22:32:34 +0300
  • ddb3a5a893 Detect unsupported schemes. Solderpunk 2019-08-14 21:16:58 +0300
  • 3562a6db25 Make sure absolutisation of https links works correctly! Solderpunk 2019-08-14 21:16:46 +0300
  • 1b7da02def Include TLS version in debug output. Solderpunk 2019-08-13 21:21:20 +0300
  • 242cf484f0 Get tough on non-standard status codes! Solderpunk 2019-08-13 20:40:14 +0300
  • 8dd08fa609 Fix silly syntax errors. Solderpunk 2019-08-13 20:39:55 +0300
  • 518dadb31e Simplify and unify GeminiItem methods. Solderpunk 2019-08-13 20:36:58 +0300
  • b4623c0ccc Remove debugging print. Solderpunk 2019-08-13 20:24:20 +0300
  • 6c8921a219 Avoid duplication of calls to of urlunparse. Solderpunk 2019-08-13 20:24:00 +0300
  • b75b1d94ff Initial implementation of input support. Solderpunk 2019-08-13 20:17:40 +0300
  • 9c51f4b6b9 Call the part of the header after status meta, not mime. Solderpunk 2019-08-13 20:00:15 +0300
  • e7e296a959 Fix Input handling stub. Solderpunk 2019-08-13 19:58:20 +0300
  • 9d9b044080 Simplify Exception handling a bit. Unlike in VF-1, we can't recover from network errors with redundant mirrors, so there's no need to separate network errors from other errors early on. Solderpunk 2019-08-13 19:58:05 +0300
  • a968fd3f92 Get rid of more vestigial colour stuff. Solderpunk 2019-08-13 19:56:38 +0300
  • d8d59f51e4 OOPify GeminiItems - makes interface code a bit tidier and concentrates all URL wrangling in one place. I *think* this makes things clearer. Solderpunk 2019-08-13 19:56:15 +0300
  • 642117f553 Remove redundant mirror stuff, which doesn't exist in Gemini. Solderpunk 2019-08-13 18:11:29 +0300
  • 1f1ab73fcf Expanded and more compliant handling of responses. Solderpunk 2019-08-13 18:09:29 +0300
  • 13ddad1759 Enable IPv6 by default. Solderpunk 2019-08-13 13:04:39 +0300
  • eca5de5d0f Get rid of item type colour code stuff. Solderpunk 2019-08-13 13:04:26 +0300
  • c65b37c5c4 Make Gopher proxy configurable via 'set'. Solderpunk 2019-08-13 13:04:07 +0300
  • aa203b95ea Don't needlessly strip lines. Solderpunk 2019-08-12 21:49:18 +0300
  • f1ef1a1211 Fix hacking to include scheme in GeminiItems. Solderpunk 2019-08-12 21:48:57 +0300
  • 9d7a40fb78 Permit non-tab whitespace in response header. Solderpunk 2019-08-12 21:48:33 +0300
  • ec38b5de4c Whoops! Set default proxy to localhost, not conman. Sorry, Sean... Solderpunk 2019-08-12 18:08:11 +0300
  • 0f964b0128 Quick and dirty hack in of support for a Gopher proxy. Solderpunk 2019-08-12 17:14:42 +0300
  • d37eaae706 Don't include default ports in URL. Solderpunk 2019-08-11 23:24:37 +0300
  • 1ba4ec5768 Updated status handling. Solderpunk 2019-08-11 22:26:30 +0300
  • 67d3c2ed22 Change to new request format. Solderpunk 2019-08-11 22:26:14 +0300
  • 0a77a03150 Don't put double /s into URLs. Solderpunk 2019-08-11 22:25:48 +0300
  • ce2cf8c5c4 Transition to new status system. Solderpunk 2019-08-08 21:23:58 +0300
  • 0bea25fed5 Change to final link syntax. Solderpunk 2019-07-22 00:02:18 +0300
  • 597c48f632 Change to new link syntax. Solderpunk 2019-06-24 22:26:53 +0300
  • 2235f8f4b1 Fix do_root. Solderpunk 2019-06-22 20:24:06 +0300
  • 104ba07a05 Minor restructuring. Solderpunk 2019-06-22 17:36:35 +0300
  • de3c418051 Record MIME type of current item, and use it in places where VF-1 would use the current GopherItem's itemtype. Solderpunk 2019-06-22 17:36:03 +0300
  • 128080fd02 Get rid of more gopher-specific stuff we don't need. Solderpunk 2019-06-22 16:49:23 +0300
  • e779a45a35 Use text encoding declared in the response header, and treat decoding errors as fatal. Solderpunk 2019-06-22 16:29:14 +0300
  • 50be14a327 Handle redirects and Not Found errors. Solderpunk 2019-06-22 16:02:11 +0300