sudan-open-source-community/chronicle-x
Composer 安装命令:
composer create-project sudan-open-source-community/chronicle-x
包简介
Public hash chain powered by Slim Framework, Sapient, and Blakechain
README 文档
README
Chronicle is a self-hostable microservice, built with Slim Framework, which enables authorized users to commit arbitrary data to an immutable, append-only public ledger.
Chronicle is superior to "blockchain" solutions for most real-world technical problems that don't involve proofs-of-work or Byzantine fault tolerance.
More precisely, Chronicle is a self-hostable microservice exposing an append-only, cryptographically-secure hash chain data structure that accepts arbitrary data from authorized clients through an HTTP API, secured by Sapient, that can be used as a building block for building a cryptographic audit trail similar to Certificate Transparency.
Chronicle will make you question the need for blockchain technology.
Chronicle was developed by Paragon Initiative Enterprises as part of our continued efforts to make the Internet more secure.
Fork overview
This fork is made to speed up Chronicle development with tons of features while considere using "Semantic Versioning". So, this fork will maintain the compatibility with legacy Chronicle as much as the development process go. ChronicleX is just the flag and the name of the brance. But, the project will use Chronicle as usaual in the legacy.
These are the following features that will be exists in the ChronicleX:
-
chronicle/exportPagination. -
chronicle/sincePagination. -
chronicle/replica/exportPagination. -
chronicle/replica/{replica}/sincePagination. - Fetch "Public Key" by URL in replica command line.
- Fetch "Public Key" by URL in cross-sign command line.
- Make replication command to fetch data while its resources is paginated.
-
chronicle/replicaPagination. - Make tests to covers (SQLite, MySQL & PostgreSQL) Databases at once.
- Create
chronicle/instancesAPI to list all instances. - Extend
chronicle/lookupAPI to search at currhash, summaryhash, publickey, signature and data. - Create Web Application at
chronicle/explorerendpoint to explore chronicle instances. - Revise cross-sign functionality.
- Revise tests to cover all functionalities.
- Create
chronicle/instancesAPI with option to hide some instances. - Make cross-sign command to fetch data while its resources is paginated.
Getting Started with Chronicle (Documentation)
- Instructions for Installing Chronicle
- How to write (publish) to your Chronicle
- How to setup cross-signing to other Chronicles
- How to replicate other Chronicles
- Concurrent Instances
- Internal Developer Documentation
Client-Side Software that Interacts with Chronicle
PHP
- Herd - PIE
- Quill - PIE
- Monolog-Quill - PIE
- Chronicle-API - Lukáš Unger (@lookyman)
What does Chronicle do?
Chronicle allows trusted clients to send data to be included in an immutable, auditable, cryptographic permanent record.
Furthermore, Chronicle has cross-signing and many-to-one replication built-in, which, when used, greatly enhances the auditability and availability of the data written to your local Chronicle instance.
What problems do Chronicle solve?
Chain of Custody
If you have sensitive information, you can write metadata about client access times to a private Chronicle in order to have verifiable, tamper-resistant proof that specific records were accessed by specific user accounts at a specific time.
Proof of Knowledge
By inserting an encrypted message and then revealing the key at a later date, you can provide strong evidence of prior knowledge.
Userbase Consistency Verification
For building a secure code delivery system, committing some metadata and a SHA256 or BLAKE2 hash of each update file to a publicly verifiable Chronicle allows users to compile a whitelist of known update files to help block trojan horse malware (in the event of a compromised update server).
For best results, combine with cryptographic signatures (which may also be registered in the Chronicle) and reproducible builds.
Auditable Security Event Logging
Because of Chronicle's cryptographically assured append-only properties, and its use of modern elliptic curve digital signatures, Chronicle is a good fit for integrating with SIEM solutions and internal SOCs.
How does it work?
All communications are secured with Sapient. Sapient ensures that all published messages are signed with Ed25519. All messages are committed to a hash chain data structure backed by BLAKE2b, which we call Blakechain for short.
There are two hashes for each message:
- The hash of the current message, whose BLAKE2b key is the previous message's
block. This is just called
currhashinternally. - The summary hash, which is a BLAKE2b hash of all message hashes to date,
concatenated together in order. This is called
summaryhashinternally.
The rationale for using the previous message's hash was to add a degree of domain separation in the event that a BLAKE2b collision attack is ever discovered. The keying should reduce the likelihood of any practical attacks, especially if the chain is updated rapidly.
License
sudan-open-source-community/chronicle-x 适用场景与选型建议
sudan-open-source-community/chronicle-x 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 02 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「security」 「cryptography」 「hash」 「BLAKE2b」 「sapient」 「blakechain」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sudan-open-source-community/chronicle-x 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sudan-open-source-community/chronicle-x 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sudan-open-source-community/chronicle-x 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DUKPT implementation in PHP
Provide a way to secure accesses to all routes of an symfony application.
Article CSS-ID Frontend Output Optimization
♺ Laravel Nova Hashids card. Convert your ids.
A library for reading KeePass 2.x databases
It's a barebone security class written on PHP
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-15