Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

docs(air-gapped): the in-enclave verification failed open — a bad digest extracted and installed

xerj-org2a2913513fb1
diff --git a/docs/recipes/air-gapped-deployment.md b/docs/recipes/air-gapped-deployment.md
index fd095bde2..92f546d78 100644
--- a/docs/recipes/air-gapped-deployment.md
+++ b/docs/recipes/air-gapped-deployment.md
@@ -97,13 +97,14 @@ After transfer, set the same approved `TAG` in the enclave and verify before
extracting:
```bash
+set -eu
: "${TAG:?set TAG to the same operator-approved release tag}"
VERSION="${TAG#v}"
ASSET="xerj-${VERSION}-x86_64-unknown-linux-musl.tar.gz"
cd /opt/xerj-staging/release
-sha256sum -c "$ASSET.sha256"
-tar -xzf "$ASSET"
-test -x "xerj-${VERSION}-x86_64-unknown-linux-musl/xerj"
+sha256sum -c "$ASSET.sha256" \
+ && tar -xzf "$ASSET" \
+ && test -x "xerj-${VERSION}-x86_64-unknown-linux-musl/xerj"
```
## 2. Install the base lexical node
diff --git a/landing/docs/recipes/air-gapped-deployment.html b/landing/docs/recipes/air-gapped-deployment.html
index 7dac7148a..b4c112c0c 100644
--- a/landing/docs/recipes/air-gapped-deployment.html
+++ b/landing/docs/recipes/air-gapped-deployment.html
@@ -100,13 +100,14 @@ curl -fL --retry 3 -o "$OUT/release/$ASSET.sha256" "$BASE/$ASSET.sha256"
"$STAGE/xerj" --version
)</pre>
<p>The checksum proves archive integrity against the digest published beside it in the same release; it is not a signature, provenance statement, or attestation. After transfer, set the same approved <code class="inline">TAG</code> and verify before extracting:</p>
-<pre class="code">: "${TAG:?set TAG to the same operator-approved release tag}"
+<pre class="code">set -eu
+: "${TAG:?set TAG to the same operator-approved release tag}"
VERSION="${TAG#v}"
ASSET="xerj-${VERSION}-x86_64-unknown-linux-musl.tar.gz"
cd /opt/xerj-staging/release
-sha256sum -c "$ASSET.sha256"
-tar -xzf "$ASSET"
-test -x "xerj-${VERSION}-x86_64-unknown-linux-musl/xerj"</pre>
+sha256sum -c "$ASSET.sha256" \
+ && tar -xzf "$ASSET" \
+ && test -x "xerj-${VERSION}-x86_64-unknown-linux-musl/xerj"</pre>
<h2>2. Install the base lexical node</h2>
<p>Create the service account first, then install only the staged binary. No model directory is needed for lexical mode:</p>