Add encrypted WWW-9 context migration backup
Browse files- .gitattributes +1 -0
- WWW-9-5.6Sol-context-20261006/README.txt +32 -0
- WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc +3 -0
- WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc.sha256 +1 -0
- WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.sha256 +1 -0
- WWW-9-5.6Sol-context-20261006/decrypt-on-mac.sh +34 -0
.gitattributes
CHANGED
|
@@ -249,3 +249,4 @@ ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/mc_1000q_400
|
|
| 249 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/mc_parsed_prog_1000_test.json filter=lfs diff=lfs merge=lfs -text
|
| 250 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_train_new.json filter=lfs diff=lfs merge=lfs -text
|
| 251 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_val_new.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 249 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/mc_parsed_prog_1000_test.json filter=lfs diff=lfs merge=lfs -text
|
| 250 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_train_new.json filter=lfs diff=lfs merge=lfs -text
|
| 251 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_val_new.json filter=lfs diff=lfs merge=lfs -text
|
| 252 |
+
WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc filter=lfs diff=lfs merge=lfs -text
|
WWW-9-5.6Sol-context-20261006/README.txt
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
WWW-9-5.6Sol — encrypted context migration backup
|
| 2 |
+
Date: 2026-10-06
|
| 3 |
+
|
| 4 |
+
This directory contains only an encrypted migration archive and decryption aids.
|
| 5 |
+
The password is supplied separately and is NOT stored in this repository.
|
| 6 |
+
|
| 7 |
+
Mac 解密步骤
|
| 8 |
+
1. 将本目录的 5 个文件下载到同一个文件夹。
|
| 9 |
+
2. 在终端进入该文件夹,运行:
|
| 10 |
+
|
| 11 |
+
bash decrypt-on-mac.sh
|
| 12 |
+
|
| 13 |
+
3. 按提示粘贴单独收到的密码。输入不会显示。
|
| 14 |
+
4. 脚本校验、解密后生成 WWW-9-5.6Sol-context-20261006.zip。
|
| 15 |
+
5. 解压 ZIP。先在目标 Mac 登录 Codex 并退出应用,再进入解压目录运行:
|
| 16 |
+
|
| 17 |
+
python3 restore_context.py
|
| 18 |
+
|
| 19 |
+
6. 重新打开 Codex,找到 WWW-9-5.6Sol 继续聊天。
|
| 20 |
+
|
| 21 |
+
也可以直接使用 macOS 自带的 OpenSSL 解密:
|
| 22 |
+
|
| 23 |
+
/usr/bin/openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -md sha256 -in WWW-9-5.6Sol-context-20261006.zip.enc -out WWW-9-5.6Sol-context-20261006.zip
|
| 24 |
+
shasum -a 256 -c WWW-9-5.6Sol-context-20261006.zip.sha256
|
| 25 |
+
|
| 26 |
+
Encryption: AES-256-CBC; salted OpenSSL enc format; PBKDF2-HMAC-SHA256,
|
| 27 |
+
200,000 iterations; randomly generated password delivered separately.
|
| 28 |
+
The decrypt helper verifies both the downloaded encrypted file and the restored ZIP.
|
| 29 |
+
The full encryption/decryption round trip was verified before uploading.
|
| 30 |
+
|
| 31 |
+
Original ZIP SHA-256:
|
| 32 |
+
714831308e36e0320423a1688b8f8161d2da1ec355d31866ab34769e04eb1350
|
WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:accf733d5c279684093d90bf51c8ffba1154916a5620aa74dbeaefccd9aac973
|
| 3 |
+
size 757190864
|
WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
accf733d5c279684093d90bf51c8ffba1154916a5620aa74dbeaefccd9aac973 WWW-9-5.6Sol-context-20261006.zip.enc
|
WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
714831308e36e0320423a1688b8f8161d2da1ec355d31866ab34769e04eb1350 WWW-9-5.6Sol-context-20261006.zip
|
WWW-9-5.6Sol-context-20261006/decrypt-on-mac.sh
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
umask 077
|
| 4 |
+
cd -- "$(dirname -- "$0")"
|
| 5 |
+
|
| 6 |
+
encrypted='WWW-9-5.6Sol-context-20261006.zip.enc'
|
| 7 |
+
output='WWW-9-5.6Sol-context-20261006.zip'
|
| 8 |
+
expected='714831308e36e0320423a1688b8f8161d2da1ec355d31866ab34769e04eb1350'
|
| 9 |
+
|
| 10 |
+
if [[ -e "$output" ]]; then
|
| 11 |
+
actual=$(shasum -a 256 "$output" | awk '{print $1}')
|
| 12 |
+
if [[ "$actual" == "$expected" ]]; then
|
| 13 |
+
echo '已存在校验通过的 ZIP,可以直接解压。'
|
| 14 |
+
exit 0
|
| 15 |
+
fi
|
| 16 |
+
echo '同名 ZIP 已存在且校验不匹配,请先移走它再运行。' >&2
|
| 17 |
+
exit 1
|
| 18 |
+
fi
|
| 19 |
+
|
| 20 |
+
shasum -a 256 -c "$encrypted.sha256"
|
| 21 |
+
temporary=$(mktemp './WWW9-decrypt.XXXXXXXX')
|
| 22 |
+
trap 'rm -f -- "$temporary"' EXIT
|
| 23 |
+
echo '请输入在聊天中单独收到的解密密码(输入不会显示):'
|
| 24 |
+
/usr/bin/openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -md sha256 \
|
| 25 |
+
-in "$encrypted" -out "$temporary"
|
| 26 |
+
actual=$(shasum -a 256 "$temporary" | awk '{print $1}')
|
| 27 |
+
if [[ "$actual" != "$expected" ]]; then
|
| 28 |
+
echo '解密后的文件校验失败。' >&2
|
| 29 |
+
exit 1
|
| 30 |
+
fi
|
| 31 |
+
mv -- "$temporary" "$output"
|
| 32 |
+
trap - EXIT
|
| 33 |
+
echo "解密及 SHA-256 校验通过:$output"
|
| 34 |
+
echo '解压 ZIP 后,请按照包内 README.txt 恢复聊天。'
|