covcom 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/bin/covcom +55 -0
- package/package.json +68 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 COVCOM
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# covcom
|
|
2
|
+
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> Terminal client for COVCOM: post-quantum end-to-end encrypted ephemeral group chat.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
npm i -g covcom
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
`bunx covcom` works too. Each platform package carries a prebuilt
|
|
15
|
+
binary with its runtime embedded, so installing from npm does not require
|
|
16
|
+
Bun. The launcher shim runs on Node 18 or newer, or on Bun.
|
|
17
|
+
|
|
18
|
+
## Supported platforms
|
|
19
|
+
|
|
20
|
+
| platform | libc | package |
|
|
21
|
+
|----------|------|---------|
|
|
22
|
+
| darwin-arm64 | - | `@covcom/cli-darwin-arm64` |
|
|
23
|
+
| darwin-x64 | - | `@covcom/cli-darwin-x64` |
|
|
24
|
+
| linux-x64 | glibc | `@covcom/cli-linux-x64` |
|
|
25
|
+
| linux-x64-musl | musl | `@covcom/cli-linux-x64-musl` |
|
|
26
|
+
| linux-arm64 | glibc | `@covcom/cli-linux-arm64` |
|
|
27
|
+
| linux-arm64-musl | musl | `@covcom/cli-linux-arm64-musl` |
|
|
28
|
+
| win32-x64 | - | `@covcom/cli-win32-x64` |
|
|
29
|
+
|
|
30
|
+
Other platforms can use the [prebuilt release binaries](https://github.com/xero/covcom/releases).
|
|
31
|
+
|
|
32
|
+
## Links
|
|
33
|
+
|
|
34
|
+
- [Repository](https://github.com/xero/covcom)
|
|
35
|
+
- [Usage guide](https://github.com/xero/covcom/blob/main/docs/USAGE.md)
|
|
36
|
+
- [Security policy](https://github.com/xero/covcom/blob/main/SECURITY.md)
|
package/bin/covcom
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// AUTO-GENERATED by scripts/stage.ts. Do not edit.
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
const { execFileSync } = require('child_process');
|
|
6
|
+
const { join } = require('path');
|
|
7
|
+
|
|
8
|
+
const PLATFORMS = {
|
|
9
|
+
'darwin-arm64': ['@covcom/cli-darwin-arm64', 'covcom'],
|
|
10
|
+
'darwin-x64': ['@covcom/cli-darwin-x64', 'covcom'],
|
|
11
|
+
'linux-x64': ['@covcom/cli-linux-x64', 'covcom'],
|
|
12
|
+
'linux-x64-musl': ['@covcom/cli-linux-x64-musl', 'covcom'],
|
|
13
|
+
'linux-arm64': ['@covcom/cli-linux-arm64', 'covcom'],
|
|
14
|
+
'linux-arm64-musl': ['@covcom/cli-linux-arm64-musl', 'covcom'],
|
|
15
|
+
'win32-x64': ['@covcom/cli-win32-x64', 'covcom.exe'],
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// Bun compiles separate glibc and musl linux binaries, so linux keys carry a
|
|
19
|
+
// libc suffix. glibcVersionRuntime is absent from process.report under musl.
|
|
20
|
+
function libcSuffix() {
|
|
21
|
+
try {
|
|
22
|
+
return process.report.getReport().header.glibcVersionRuntime ? '' : '-musl';
|
|
23
|
+
} catch {
|
|
24
|
+
return '';
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const key = process.platform === 'linux'
|
|
29
|
+
? 'linux-' + process.arch + libcSuffix()
|
|
30
|
+
: process.platform + '-' + process.arch;
|
|
31
|
+
const entry = PLATFORMS[key];
|
|
32
|
+
|
|
33
|
+
if (!entry) {
|
|
34
|
+
process.stderr.write('covcom: unsupported platform: ' + key + '\n');
|
|
35
|
+
process.stderr.write('Supported: ' + Object.keys(PLATFORMS).join(', ') + '\n');
|
|
36
|
+
process.stderr.write('Prebuilt binaries: https://github.com/xero/covcom/releases\n');
|
|
37
|
+
process.exit(1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const [pkg, bin] = entry;
|
|
41
|
+
|
|
42
|
+
let pkgJson;
|
|
43
|
+
try {
|
|
44
|
+
pkgJson = require.resolve(pkg + '/package.json');
|
|
45
|
+
} catch {
|
|
46
|
+
process.stderr.write('covcom: platform package ' + pkg + ' is not installed.\n');
|
|
47
|
+
process.stderr.write('Try reinstalling: npm install -g covcom\n');
|
|
48
|
+
process.exit(1);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
try {
|
|
52
|
+
execFileSync(join(pkgJson, '..', 'bin', bin), process.argv.slice(2), { stdio: 'inherit' });
|
|
53
|
+
} catch (e) {
|
|
54
|
+
process.exit(e.status ?? 1);
|
|
55
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "covcom",
|
|
3
|
+
"version": "3.1.0",
|
|
4
|
+
"description": "Terminal client for COVCOM: post-quantum end-to-end encrypted ephemeral group chat.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "xero (https://x-e.ro)",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/xero/covcom.git",
|
|
10
|
+
"directory": "cli"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/xero/covcom#readme",
|
|
13
|
+
"bin": {
|
|
14
|
+
"covcom": "bin/covcom"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"bin/"
|
|
18
|
+
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=18"
|
|
21
|
+
},
|
|
22
|
+
"optionalDependencies": {
|
|
23
|
+
"@covcom/cli-darwin-arm64": "3.1.0",
|
|
24
|
+
"@covcom/cli-darwin-x64": "3.1.0",
|
|
25
|
+
"@covcom/cli-linux-x64": "3.1.0",
|
|
26
|
+
"@covcom/cli-linux-x64-musl": "3.1.0",
|
|
27
|
+
"@covcom/cli-linux-arm64": "3.1.0",
|
|
28
|
+
"@covcom/cli-linux-arm64-musl": "3.1.0",
|
|
29
|
+
"@covcom/cli-win32-x64": "3.1.0"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"provenance": true
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"XChaCha20",
|
|
37
|
+
"ML-KEM-768",
|
|
38
|
+
"Ed25519",
|
|
39
|
+
"BLAKE3",
|
|
40
|
+
"post-quantum",
|
|
41
|
+
"pqc",
|
|
42
|
+
"kyber",
|
|
43
|
+
"ML-KEM",
|
|
44
|
+
"SPQR",
|
|
45
|
+
"E2EE",
|
|
46
|
+
"ephemeral",
|
|
47
|
+
"N-party",
|
|
48
|
+
"cryptography",
|
|
49
|
+
"encryption",
|
|
50
|
+
"crypto",
|
|
51
|
+
"chat",
|
|
52
|
+
"groupchat",
|
|
53
|
+
"messenger",
|
|
54
|
+
"forward-secrecy",
|
|
55
|
+
"double-ratchet",
|
|
56
|
+
"end-to-end-encryption",
|
|
57
|
+
"CLI",
|
|
58
|
+
"TUI",
|
|
59
|
+
"SPA",
|
|
60
|
+
"bun",
|
|
61
|
+
"covcom",
|
|
62
|
+
"chat",
|
|
63
|
+
"communications",
|
|
64
|
+
"covert",
|
|
65
|
+
"anonymous",
|
|
66
|
+
"incognito"
|
|
67
|
+
]
|
|
68
|
+
}
|