Commit 87cfe79
User/jhendler/0.3.6 (#31)
* CHANGELOG.md
* dns
* fix
* fixing bootstrap
* fix race condition
* dilithium fix
* agent fixure
* dnssec not working
* dns
* dns agent verification from cli
* clean up observability
* change log
* keystore mod
* cleaned up key loading
* fixes
* fix tests
* warning cleanup
* changelog
* starting embeded mcp and http
* jacs mcp
* CHANGELOG.md
* doc
* tests
* jacsgp
* fixes in jacgo to run tests
* fix lint main issue
* readme
* a2a
* a2a
* bugfix
* misc fixes w/ libs and a2a
* changelog
* refactor filestysem read write
* cargo upgrade
* add a new post quantum algorithm for signing
* passing pq tests
* permission
* add jacsBranch
* a2a updates
* a2a updates
* updating a2a, rust, cleanup errors
* a2a updates
* cleanup code
* ignore
* Security fixes: PBKDF2 KDF, panic handling, verification status, file permissions
CRITICAL SECURITY FIXES:
1. [CRITICAL] Key derivation now uses PBKDF2-HMAC-SHA256 with 100,000 iterations
instead of single SHA-256 hash. Previous approach was vulnerable to brute-force.
- jacs/src/crypt/aes_encrypt.rs: Added derive_key_pbkdf2() with configurable
iterations, salt generation, and proper key derivation
- Added MAGIC_HEADER to distinguish new format from legacy encrypted keys
- Backward compatible: auto-detects and reads legacy format
2. [CRITICAL] Crypto panic handling: Replaced .expect() with .map_err() in
AES-GCM encrypt/decrypt. Crypto failures now return errors instead of panicking.
- Prevents potential denial of service from malformed ciphertext
3. [HIGH] Foreign signature verification: verify_wrapped_artifact() now properly
returns Unverified status for foreign agent signatures when public key is
unavailable. Previously incorrectly indicated verified.
- jacs/src/a2a/provenance.rs: Added VerificationStatus enum with Verified,
SelfSigned, Unverified, Invalid states
- Added is_verified(), is_invalid(), is_unverified() helper methods
4. [HIGH] Parent signature verification: verify_parent_signatures() now actually
recursively verifies parent signatures instead of always returning true.
MEDIUM SECURITY FIXES:
5. [MEDIUM] jacsnpm global singleton: Refactored from lazy_static! mutex to
JacsAgent NAPI class pattern. Multiple agents can now be used concurrently
in same Node.js process without shared mutable state.
- jacsnpm/src/lib.rs: Added JacsAgent struct with instance methods
- Legacy functions preserved with LEGACY_AGENT static for backward compat
6. [MEDIUM] Secure file permissions: Private keys now get 0600 permissions
(owner read/write only) and key directories get 0700 (owner rwx only) on
Unix systems. Prevents other users from reading private keys.
- jacs/src/keystore/mod.rs: Added set_secure_permissions() with Unix/non-Unix
conditional compilation
OTHER CHANGES:
- Added serial_test crate for test isolation (prevents env var conflicts)
- Regenerated test encrypted key fixtures with correct passwords per config
- Updated CHANGELOG.md with all security fixes under 0.3.6
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* - **[MEDIUM] Fixed jacspy global singleton**: Refactored from global `lazy_static!` mutex to `JacsAgent` PyO3 class pattern. Multiple agents can now be used concurrently in the same Python process. The `Arc<Mutex<Agent>>` pattern ensures thread-safety and works with Python's GIL as well as future free-threading (Python 3.13+). Legacy functions preserved for backwards compatibility.
+
* openclaw?
* openclaw
* jacsnpm security updates
* fix test, doc
* cli for fetch
* moar openclaw
* update gooooo
* better test coverage
* start updating book
* update book
* books update
* update rust build versions
* fix test
* fix test
* fix defaults
* add test config for CI
* test fix
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6da8e00 commit 87cfe79
File tree
294 files changed
+79480
-6348
lines changed- .github/workflows
- jacs-mcp
- src
- tests
- jacsgo
- examples
- basic
- http
- mcp
- lib
- src
- jacsnpm
- examples
- openclaw-plugin
- dist
- gateway
- tools
- src
- gateway
- skills/jacs
- tools
- src
- test
- jacspy
- python/jacs
- src
- tests
- fixtures/documents
- jacs
- docs
- jacsbook
- book
- advanced
- examples
- getting-started
- integrations
- nodejs
- python
- reference
- rust
- schemas
- src
- advanced
- cli
- design
- examples
- getting-started
- integrations
- nodejs
- python
- reference
- rust
- schemas
- prompts
- revisions
- schema
- examples
- schemas
- agent/v1
- header/v1
- src
- a2a
- agent
- bin
- cli_utils
- config
- crypt
- dns
- keystore
- observability
- schema
- storage
- tests
- fixtures
- dns
- jacs_keys
- jacs/agent
- keys
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
294 files changed
+79480
-6348
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | | - | |
30 | | - | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | | - | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
32 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
33 | 50 | | |
34 | 51 | | |
35 | 52 | | |
36 | 53 | | |
37 | | - | |
38 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
39 | 69 | | |
40 | 70 | | |
41 | 71 | | |
| |||
59 | 89 | | |
60 | 90 | | |
61 | 91 | | |
| 92 | + | |
62 | 93 | | |
63 | 94 | | |
64 | | - | |
| 95 | + | |
65 | 96 | | |
66 | | - | |
| 97 | + | |
67 | 98 | | |
68 | 99 | | |
69 | 100 | | |
| |||
78 | 109 | | |
79 | 110 | | |
80 | 111 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| |||
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
118 | | - | |
| 123 | + | |
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
126 | 173 | | |
127 | 174 | | |
128 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | | - | |
11 | 10 | | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | | - | |
| 19 | + | |
0 commit comments