didall


Namedidall JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://gitee.com/bitaimeta_admin/didall
SummaryAn SDK for cross-platform identity authentication and end-to-end encrypted communication based on DID
upload_time2024-10-15 13:53:19
maintainerNone
docs_urlNone
authorGaoWei Chang
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Cross-Platform Identity Authentication and End-to-End Encrypted Communication Technology Based on DID

**Author**: Chang Gaowei  
**Email**: chgaowei@gmail.com  
**Website**: [pi-unlimited.com](http://pi-unlimited.com)  
**中文版本**: [中文版本readme](https://github.com/chgaowei/didall/blob/main/README.cn.md)  

## Abstract

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.

## Features

- **Cross-Platform Identity Authentication**: Achieves identity interoperability across different platforms using DID.
- **End-to-End Encrypted Communication**: Uses ECDHE for short-term key agreement to ensure communication security.
- **Efficient and Secure**: Simplifies the identity verification process, ensuring data confidentiality and integrity.

### Installation

The latest version has been removed from PyPI, so install directly:

```bash
pip install didall
```

### Usage

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.

1. Generate two DID documents, alice.json and bob.json, save them to the specified files, and register them with the DID server:
```bash
python sample_did.py alice.json
python sample_did.py bob.json
```

2. Start Alice's demo:
```bash
python sample_alice.py alice.json
```

3. Start Bob's demo:
```bash
python sample_bob.py bob.json
```

By checking the logs, you can see that Alice and Bob have successfully connected and engaged in end-to-end encrypted communication.

## Contributing

Contributions to this project are welcome. Please read the contribution guidelines before submitting a pull request.

## License
    
This project is open-sourced under the MIT License. For more details, please refer to the LICENSE file.

## Packaging and Uploading (update the version number in setup.py first)

```bash
python setup.py sdist bdist_wheel 
twine upload dist/*        
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitee.com/bitaimeta_admin/didall",
    "name": "didall",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "GaoWei Chang",
    "author_email": "chgaowei@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/fc/65/54df1af137365050738d51da5c1099957a7c80dc72066e0592d344fd8987/didall-0.1.5.tar.gz",
    "platform": null,
    "description": "# Cross-Platform Identity Authentication and End-to-End Encrypted Communication Technology Based on DID\n\n**Author**: Chang Gaowei  \n**Email**: chgaowei@gmail.com  \n**Website**: [pi-unlimited.com](http://pi-unlimited.com)  \n**\u4e2d\u6587\u7248\u672c**: [\u4e2d\u6587\u7248\u672creadme](https://github.com/chgaowei/didall/blob/main/README.cn.md)  \n\n## Abstract\n\nThis 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.\n\n## Features\n\n- **Cross-Platform Identity Authentication**: Achieves identity interoperability across different platforms using DID.\n- **End-to-End Encrypted Communication**: Uses ECDHE for short-term key agreement to ensure communication security.\n- **Efficient and Secure**: Simplifies the identity verification process, ensuring data confidentiality and integrity.\n\n### Installation\n\nThe latest version has been removed from PyPI, so install directly:\n\n```bash\npip install didall\n```\n\n### Usage\n\nAfter 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.\n\n1. Generate two DID documents, alice.json and bob.json, save them to the specified files, and register them with the DID server:\n```bash\npython sample_did.py alice.json\npython sample_did.py bob.json\n```\n\n2. Start Alice's demo:\n```bash\npython sample_alice.py alice.json\n```\n\n3. Start Bob's demo:\n```bash\npython sample_bob.py bob.json\n```\n\nBy checking the logs, you can see that Alice and Bob have successfully connected and engaged in end-to-end encrypted communication.\n\n## Contributing\n\nContributions to this project are welcome. Please read the contribution guidelines before submitting a pull request.\n\n## License\n    \nThis project is open-sourced under the MIT License. For more details, please refer to the LICENSE file.\n\n## Packaging and Uploading (update the version number in setup.py first)\n\n```bash\npython setup.py sdist bdist_wheel \ntwine upload dist/*        \n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An SDK for cross-platform identity authentication and end-to-end encrypted communication based on DID",
    "version": "0.1.5",
    "project_urls": {
        "Homepage": "https://gitee.com/bitaimeta_admin/didall"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be0236755ed817fc31e13167cfbf4a12d735006cbfaa1ff87fae147f09e0a054",
                "md5": "1d44c61c03618f482ffc33d672214c6a",
                "sha256": "cad41a160b16f9a9099801196921ecc4b7ea0858c283105b57bca2fb978ba802"
            },
            "downloads": -1,
            "filename": "didall-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1d44c61c03618f482ffc33d672214c6a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 39630,
            "upload_time": "2024-10-15T13:53:18",
            "upload_time_iso_8601": "2024-10-15T13:53:18.040735Z",
            "url": "https://files.pythonhosted.org/packages/be/02/36755ed817fc31e13167cfbf4a12d735006cbfaa1ff87fae147f09e0a054/didall-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc6554df1af137365050738d51da5c1099957a7c80dc72066e0592d344fd8987",
                "md5": "f4a6c0e1511ed92f2368cc00f11e7082",
                "sha256": "28c8539cbf5c659fd44669e48f8315107260fc3cb7e95cd9d06035f9c4f79ef9"
            },
            "downloads": -1,
            "filename": "didall-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "f4a6c0e1511ed92f2368cc00f11e7082",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 30344,
            "upload_time": "2024-10-15T13:53:19",
            "upload_time_iso_8601": "2024-10-15T13:53:19.742407Z",
            "url": "https://files.pythonhosted.org/packages/fc/65/54df1af137365050738d51da5c1099957a7c80dc72066e0592d344fd8987/didall-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-15 13:53:19",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "didall"
}
        
Elapsed time: 0.37345s