diff options
| author | Jannis R <mail@jannisr.de> | 2020-05-02 15:41:32 +0200 |
|---|---|---|
| committer | Jannis R <mail@jannisr.de> | 2020-05-02 16:36:09 +0200 |
| commit | 58d2e4c5e17b3306e35e7a8e28cce5cc4eb74f26 (patch) | |
| tree | 44fd76efa940862b38442fa8926d6a0092268487 /lib/util.js | |
| parent | 1b5af6f4bdfca939e780ae70bd6e1819425824f7 (diff) | |
basic client
Diffstat (limited to 'lib/util.js')
| -rw-r--r-- | lib/util.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util.js b/lib/util.js index 3d46bfb..bd3cc93 100644 --- a/lib/util.js +++ b/lib/util.js @@ -8,7 +8,13 @@ const ALPN_ID = 'gemini' // > (the first manned Gemini mission, Gemini 3, flew in March '65). const DEFAULT_PORT = 1965 +// https://gemini.circumlunar.space/docs/spec-spec.txt, 1.4.1 +// > Servers MUST use TLS version 1.2 or higher and SHOULD use TLS version +// > 1.3 or higher. +const MIN_TLS_VERSION = 'TLSv1.2' + module.exports = { ALPN_ID, DEFAULT_PORT, + MIN_TLS_VERSION, } |
