Skip to content

Commit 2d9b528

Browse files
Jonathan D.A. Jewellclaude
andcommitted
feat: add post-quantum cryptographic primitives module
- Add Crypto.php with high-security primitives: - SHAKE3-256 (SHA-3 XOF) - BLAKE3 (fast hash, falls back to BLAKE2b) - Argon2id (memory-hard password hashing, 64MiB minimum) - Ed448 (Edwards curve signatures) - Kyber-1024 (post-quantum key encapsulation) - Dilithium (post-quantum signatures) - Add DUBLINCORE.rdf, CITATION.cff, void.ttl metadata - Add PRIORITY.adoc (MUST/SHOULD/COULD list) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 678e5bc commit 2d9b528

5 files changed

Lines changed: 663 additions & 0 deletions

File tree

CITATION.cff

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
cff-version: 1.2.0
3+
title: php-aegis
4+
message: "If you use this software, please cite it as below."
5+
type: software
6+
authors:
7+
- family-names: Jewell
8+
given-names: Jonathan D.A.
9+
repository-code: "https://github.com/hyperpolymath/php-aegis"
10+
url: "https://github.com/hyperpolymath/php-aegis"
11+
abstract: >-
12+
PHP security and hardening toolkit providing input validation,
13+
context-aware sanitization, security headers, and W3C-compliant
14+
RDF/Turtle escaping for semantic web applications.
15+
keywords:
16+
- php
17+
- security
18+
- validation
19+
- sanitization
20+
- rdf
21+
- turtle
22+
- semantic-web
23+
license: MPL-2.0
24+
version: "0.2.0"
25+
date-released: "2025-01-03"

DUBLINCORE.rdf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- SPDX-License-Identifier: MPL-2.0 -->
3+
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4+
xmlns:dc="http://purl.org/dc/elements/1.1/"
5+
xmlns:dcterms="http://purl.org/dc/terms/">
6+
<rdf:Description rdf:about="https://github.com/hyperpolymath/php-aegis">
7+
<dc:title>php-aegis</dc:title>
8+
<dc:creator>Jonathan D.A. Jewell</dc:creator>
9+
<dc:subject>PHP Security</dc:subject>
10+
<dc:subject>Input Validation</dc:subject>
11+
<dc:subject>Output Sanitization</dc:subject>
12+
<dc:subject>Web Security</dc:subject>
13+
<dc:description>PHP security and hardening toolkit with input validation, sanitization, security headers, and RDF/Turtle escaping</dc:description>
14+
<dc:publisher>Hyperpolymath</dc:publisher>
15+
<dc:type>Software</dc:type>
16+
<dc:format>application/x-php</dc:format>
17+
<dc:identifier>https://github.com/hyperpolymath/php-aegis</dc:identifier>
18+
<dc:language>en</dc:language>
19+
<dc:rights>MPL-2.0</dc:rights>
20+
<dcterms:license rdf:resource="https://opensource.org/licenses/MPL-2.0"/>
21+
<dcterms:conformsTo rdf:resource="https://github.com/hyperpolymath/rhodium-standard-repositories"/>
22+
</rdf:Description>
23+
</rdf:RDF>

PRIORITY.adoc

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
= php-aegis Priority List
3+
:toc:
4+
5+
== MUST (Critical - Security Library Core)
6+
7+
[cols="1,3,1"]
8+
|===
9+
|ID |Task |Status
10+
11+
|M1
12+
|Post-quantum crypto module (SHAKE3-256, BLAKE3, Kyber, Dilithium, Argon2id, Ed448)
13+
|✓ DONE
14+
15+
|M2
16+
|Complete input validation test coverage
17+
|PENDING
18+
19+
|M3
20+
|Security headers comprehensive tests
21+
|PENDING
22+
23+
|M4
24+
|RDF/Turtle escaping edge case tests
25+
|PENDING
26+
|===
27+
28+
== SHOULD (Important - High Value)
29+
30+
[cols="1,3,1"]
31+
|===
32+
|ID |Task |Status
33+
34+
|S1
35+
|IndieWeb security helpers (Micropub, IndieAuth, Webmention)
36+
|PENDING
37+
38+
|S2
39+
|Rate limiting with file/memory backends
40+
|PENDING
41+
42+
|S3
43+
|CSRF token generation and validation
44+
|PENDING
45+
46+
|S4
47+
|Input filtering chains (composable validators)
48+
|PENDING
49+
50+
|S5
51+
|Integration with sanctify-php static analysis
52+
|PENDING
53+
54+
|S6
55+
|Add Guix/Nix package definitions
56+
|PENDING
57+
|===
58+
59+
== COULD (Nice to Have - Future)
60+
61+
[cols="1,3,1"]
62+
|===
63+
|ID |Task |Status
64+
65+
|C1
66+
|OpenID Connect validation helpers
67+
|PENDING
68+
69+
|C2
70+
|FIDO2/WebAuthn integration
71+
|PENDING
72+
73+
|C3
74+
|Content Security Policy builder
75+
|PENDING
76+
77+
|C4
78+
|Subresource Integrity (SRI) helpers
79+
|PENDING
80+
|===

0 commit comments

Comments
 (0)