Commit Graph

78 Commits

Author SHA1 Message Date
Solderpunk
cf92e12653 Make locations of files more consistent. 2020-05-10 22:51:33 +02:00
Solderpunk
0d49b3e859 Put bookmark and rc files in same location as certificates. 2020-05-10 18:53:31 +02:00
Solderpunk
34cfa54de6 Tiny tweak to Macros -> Patlabor theme change. :) 2020-05-10 18:47:07 +02:00
Solderpunk
94e796ee5e Opt out of transient certs for now, better messaging about certificates. 2020-05-10 18:46:16 +02:00
Solderpunk
e0552df853 Add support for generating client certs (if openssl is installed). 2020-05-10 17:25:03 +02:00
Solderpunk
d4e9feebc5 Small bugfix. 2020-05-10 17:00:30 +02:00
Solderpunk
24563acf6d Give 'cert' command a menu interface, and trigger a similar interface in response to status codes 6x. 2020-05-10 16:09:54 +02:00
Solderpunk
b272a563cb Use ansiwrap if available. 2020-05-10 15:02:24 +02:00
Solderpunk
28cf34e585 Add version info. Closes #1. 2020-05-10 14:34:48 +02:00
Solderpunk
d8ef677ab1 Make sure supplied filenames exist. 2020-05-10 14:32:41 +02:00
Solderpunk
cbb7b3fd6c Offer to reload previously used certificates for domains visited earlier. 2020-05-10 14:19:12 +02:00
Solderpunk
d04c472600 Reduce code duplication. 2020-05-10 14:17:35 +02:00
Solderpunk
cd2faaa958 Fix input parsing bug. 2020-05-10 14:17:20 +02:00
Solderpunk
6cb9f6a65e Nicer prompts. 2020-05-10 14:17:07 +02:00
Solderpunk
3207f8b382 Reduce code duplication. 2020-05-10 13:48:25 +02:00
Solderpunk
6bb2e20e69 Try to prevent 'certificate leaks' when visiting a new domain with an active client cert. 2020-05-10 13:44:40 +02:00
Solderpunk
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. 2020-05-10 12:59:26 +02:00
Solderpunk
6d4c8e2dc9 First stab at putting an interactive interface on client certificates. 2020-05-10 12:35:46 +02:00
Solderpunk
f6f0c5d34a Various inscrutible TLS changes. 2020-04-12 21:20:29 +02:00
Solderpunk
8b3e77fa41 Add restricted mode for gemini.circumlunar.space kiosk. 2020-04-07 22:46:05 +02:00
Solderpunk
8e5e175a7e Fix TLS for Python 3.8. See #6. 2020-04-02 22:15:39 +02:00
Solderpunk
c934237cbe Enhance bookmarks command to accept a numeric index. Closes #4. 2020-03-24 20:41:37 +01:00
Michael Lazar
b078e4315d Add support for TLS client certificates 2020-03-22 22:12:00 -04:00
Solderpunk
a701145459 Handle unorderd items and headings. 2020-03-07 21:30:34 +01:00
Solderpunk
7f89b94f25 Handle preformatted content. 2020-03-07 21:11:49 +01:00
Solderpunk
6c017f3b96 Wrap long lines. 2020-02-03 21:34:17 +01:00
Solderpunk
c0f4c8eae4 Open HTTP(S) links in the system browser. 2019-11-05 19:58:04 +02:00
Solderpunk
0fdf9ac473 Don't clobber https scheme of absolute URLs when normalising. 2019-11-05 19:57:29 +02:00
Solderpunk
dc6c64c741 Fix redirect logic, and handle permanent redirects. 2019-10-15 22:12:32 +03:00
Solderpunk
8c5c779415 Permit manual control of redirects. 2019-10-14 19:47:02 +03:00
Solderpunk
a0e4acf352 Try not to get trapped by excessive or looping redirects. 2019-10-13 20:42:04 +03:00
lel
210d0459eb Simplify trailing slash handling to make going up work 2019-09-28 03:28:01 -04:00
lel
7997c40e94 Simplify handling of going up from root 2019-09-28 03:22:01 -04:00
lel
620800c9da Fix separate unrelated crash when going up from root 2019-09-28 02:40:18 -04:00
lel
3d8eecd346 Fix crash when going up from root 2019-09-28 02:39:42 -04:00
lel
12587685d4 Add newline to string formatting 2019-09-28 02:04:45 -04:00
Solderpunk
998b25cdb6 Try to get Python 3.4 working... 2019-08-25 16:26:45 +03:00
Solderpunk
7852a3f544 Fix bookmarking, again. 2019-08-18 23:29:45 +03:00
Solderpunk
afc4d7e8fd TLS hardening. 2019-08-18 22:59:49 +03:00
Solderpunk
f6a8f20a07 Fix bookmarking. 2019-08-18 22:32:34 +03:00
Solderpunk
ddb3a5a893 Detect unsupported schemes. 2019-08-14 21:16:58 +03:00
Solderpunk
3562a6db25 Make sure absolutisation of https links works correctly! 2019-08-14 21:16:46 +03:00
Solderpunk
1b7da02def Include TLS version in debug output. 2019-08-13 21:21:20 +03:00
Solderpunk
242cf484f0 Get tough on non-standard status codes! 2019-08-13 20:40:14 +03:00
Solderpunk
8dd08fa609 Fix silly syntax errors. 2019-08-13 20:39:55 +03:00
Solderpunk
518dadb31e Simplify and unify GeminiItem methods. 2019-08-13 20:36:58 +03:00
Solderpunk
b4623c0ccc Remove debugging print. 2019-08-13 20:24:20 +03:00
Solderpunk
6c8921a219 Avoid duplication of calls to of urlunparse. 2019-08-13 20:24:00 +03:00
Solderpunk
b75b1d94ff Initial implementation of input support. 2019-08-13 20:17:40 +03:00
Solderpunk
9c51f4b6b9 Call the part of the header after status meta, not mime. 2019-08-13 20:00:15 +03:00