You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is an open-source SDK implementation based on Decentralized Identifier (DID) and end-to-end encrypted communication technology. For technical details, refer to the [Technical White Paper: A Cross-Platform Identity Authentication and End-to-End Encrypted Communication Technology Based on DID](https://egp0uc2jnx.feishu.cn/wiki/JyaIwTwngiWi9qkJjjycI4XcnXe?from=from_copylink). With the didall open-source project, any intelligent agent or server can connect to the DID server, register its DID, accept connections from other users, connect to other users, and engage in end-to-end encrypted communication.
10
+
11
+
## Features
12
+
13
+
-**Cross-Platform Identity Authentication**: Achieves identity interoperability across different platforms using DID.
14
+
-**End-to-End Encrypted Communication**: Uses ECDHE for short-term key agreement to ensure communication security.
15
+
-**Efficient and Secure**: Simplifies the identity verification process, ensuring data confidentiality and integrity.
16
+
17
+
### Installation
18
+
19
+
The latest version has been removed from PyPI, so install directly:
20
+
21
+
```bash
22
+
pip install didall
23
+
```
24
+
25
+
### Usage
26
+
27
+
After installing the didall library, you can run the sample code in the examples directory to generate DID files for Alice and Bob, save Alice's DID file to the DID server, and then have Bob connect to Alice's DID for end-to-end encrypted communication.
28
+
29
+
1. Generate two DID documents, alice.json and bob.json, save them to the specified files, and register them with the DID server:
30
+
```bash
31
+
python sample_did.py alice.json
32
+
python sample_did.py bob.json
33
+
```
34
+
35
+
2. Start Alice's demo:
36
+
```bash
37
+
python sample_alice.py alice.json
38
+
```
39
+
40
+
3. Start Bob's demo:
41
+
```bash
42
+
python sample_bob.py bob.json
43
+
```
44
+
45
+
By checking the logs, you can see that Alice and Bob have successfully connected and engaged in end-to-end encrypted communication.
46
+
47
+
## Contributing
48
+
49
+
Contributions to this project are welcome. Please read the contribution guidelines before submitting a pull request.
50
+
51
+
## License
52
+
53
+
This project is open-sourced under the MIT License. For more details, please refer to the LICENSE file.
54
+
55
+
## Packaging and Uploading (update the version number in setup.py first)
0 commit comments