diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-15 19:00:06 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-15 19:00:17 +0300 |
commit | db1143a1e05d75fd96845fb51549303bde360a0c (patch) | |
tree | 16ef6bd3c5d7ba61a813933139cf929818feff29 /res | |
parent | 090290dbf4b9f7e586640b9b757bb8a2df711b3a (diff) |
Updated Help about TLS client certificates
Diffstat (limited to 'res')
-rw-r--r-- | res/about/help.gmi | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/res/about/help.gmi b/res/about/help.gmi index dccef9f8..97d7473f 100644 --- a/res/about/help.gmi +++ b/res/about/help.gmi | |||
@@ -63,10 +63,12 @@ Lagrange's user interface is modeled after web browsers: | |||
63 | 63 | ||
64 | The URL input field is in its typical location in the navigation bar. It can be accessed quickly by pressing ${CTRL+}L. | 64 | The URL input field is in its typical location in the navigation bar. It can be accessed quickly by pressing ${CTRL+}L. |
65 | 65 | ||
66 | As you enter text, Lagrange starts looking for matches in bookmarks, history, content of cached pages, and identities. Search terms are case insensitive, and if many words are entered, they are all required to appear in the specified order in any matched content. Search of cached pages is limited to the (small) set of pages that Lagrange keeps in memory for back navigation. | 66 | As you enter text, Lagrange starts looking for matches in bookmarks, history, content of cached pages, and identities. Search terms are case insensitive, and if many words are entered, they are all required to appear in the specified order in any matched content. |
67 | 67 | ||
68 | Press Tab or ↓ to switch input focus to the search results. | 68 | Press Tab or ↓ to switch input focus to the search results. |
69 | 69 | ||
70 | Search within cached pages is limited to the (small) set of pages that Lagrange keeps in memory for back navigation. Note that while the navigation stack is saved to a file when Lagrange is shut down and restored on the next launch, it is also tab-specific — a tab's navigation cache is lost when the tab is closed. | ||
71 | |||
70 | ## Tabs | 72 | ## Tabs |
71 | 73 | ||
72 | Press ${CTRL+}T to open a new tab, and ${CTRL+}W to close the current tab. Right-clicking on buttons in the tab bar shows a context menu for additional tab-related functions. | 74 | Press ${CTRL+}T to open a new tab, and ${CTRL+}W to close the current tab. Right-clicking on buttons in the tab bar shows a context menu for additional tab-related functions. |
@@ -105,15 +107,38 @@ Each visible link on the page gets an alphanumeric shortcut. For example, the fi | |||
105 | 107 | ||
106 | ## Bookmarks | 108 | ## Bookmarks |
107 | 109 | ||
108 | ## Managing and using identities | 110 | ... |
111 | |||
112 | ## Identities (TLS client certificates) | ||
113 | |||
114 | Gemini uses TLS client certificates for manual user/session identification purposes. This is analogous to logging into a web site, except you are in full control of the information. The term "Identity" is used in Lagrange to refer to client certificates. | ||
115 | |||
116 | Lagrange can easily create a new identity. The shortcut for this is ${SHIFT+}${CTRL+}N. Consider any information you enter in the certificate as public; only the Common Name is required and will appear as the issuer and subject of the certificate. | ||
117 | |||
118 | Clicking on an identity in the sidebar will toggle it on/off for the currently open URL. On subsequent page loads, the certificate will then be sent to the server when the URL or any URL under it is fetched. You can click on the 👤 button in the navigation bar to see which identity is being used for the current page. | ||
119 | |||
120 | ### Importing existing certificates | ||
109 | 121 | ||
110 | TLS client certificates that you can identify yourself with. Consider any information you enter in the certificate as public; only the Common Name is required and will appear as the issuer and subject of the certificate. | 122 | At launch, Lagrange looks through its "idents" directory to see if any new certificates have been copied there. (See "Runtime files" below for the location.) The file format must be PEM. Both a certificate (.crt) and its private key (.key) must be found in "idents" and they must have matching file names. For example: |
123 | * mycert.crt | ||
124 | * mycert.key | ||
125 | Lagrange will add a note to the imported identities to mark them as "Imported". | ||
126 | |||
127 | # OS integration | ||
111 | 128 | ||
112 | ## Drop and drop | 129 | ## Drop and drop |
113 | 130 | ||
114 | You can drag and drop .gmi files on the Lagrange window to open them in the current tab. Dropping multiple files opens them in separate tabs. This is the recommended way to view local files, because there is no "Open File" menu item. You may also type "file://" URLs in the URL field. | 131 | You can drag and drop .gmi files on the Lagrange window to open them in the current tab. Dropping multiple files opens them in separate tabs. This is the recommended way to view local files, because there is no "Open File" menu item. You may also type "file://" URLs in the URL field. |
132 | |||
133 | ## Runtime files | ||
134 | |||
135 | Lagrange stores user-specific persistent files in one of the following locations (depending on the operating system): | ||
115 | 136 | ||
116 | # Runtime files | 137 | ``` |
138 | Windows : C:\Users\Name\AppData\Roaming\fi.skyjake.Lagrange\ | ||
139 | macOS : ~/Library/Application Support/fi.skyjake.Lagrange/ | ||
140 | Other Unix : ~/.config/lagrange/ | ||
141 | ``` | ||
117 | 142 | ||
118 | * bookmarks.txt | 143 | * bookmarks.txt |
119 | * idents.binary and idents/ | 144 | * idents.binary and idents/ |