HMessager

所属分类:加密解密
开发工具:Java
文件大小:0KB
下载次数:0
上传日期:2023-08-11 17:40:52
上 传 者sh-1993
说明:  HMessager是一款Android去中心化消息传递应用程序,提供基于信号协议的端到端加密,并与Jetpack Co.一起构建...,
(HMessager is a Android decentralized messaging app providing end-to-end encryption based on the Signal Protocol and built with Jetpack Compose)

文件列表:
.idea/ (0, 2023-09-22)
.idea/codeStyles/ (0, 2023-09-22)
.idea/codeStyles/Project.xml (3680, 2023-09-22)
.idea/codeStyles/codeStyleConfig.xml (142, 2023-09-22)
.idea/compiler.xml (169, 2023-09-22)
.idea/deploymentTargetDropDown.xml (279, 2023-09-22)
.idea/gradle.xml (696, 2023-09-22)
.idea/inspectionProfiles/ (0, 2023-09-22)
.idea/inspectionProfiles/Project_Default.xml (2736, 2023-09-22)
.idea/kotlinc.xml (176, 2023-09-22)
.idea/migrations.xml (254, 2023-09-22)
.idea/misc.xml (409, 2023-09-22)
.idea/vcs.xml (180, 2023-09-22)
HMessager.drawio (87561, 2023-09-22)
app/ (0, 2023-09-22)
app/build.gradle.kts (3226, 2023-09-22)
app/proguard-rules.pro (750, 2023-09-22)
app/src/ (0, 2023-09-22)
app/src/androidTest/ (0, 2023-09-22)
app/src/androidTest/java/ (0, 2023-09-22)
app/src/androidTest/java/com/ (0, 2023-09-22)
app/src/androidTest/java/com/hpn/ (0, 2023-09-22)
app/src/androidTest/java/com/hpn/hmessager/ (0, 2023-09-22)
app/src/androidTest/java/com/hpn/hmessager/ExampleInstrumentedTest.kt (661, 2023-09-22)
app/src/main/ (0, 2023-09-22)
app/src/main/AndroidManifest.xml (3824, 2023-09-22)
app/src/main/hmessager_launcher-playstore.png (16586, 2023-09-22)
app/src/main/java/ (0, 2023-09-22)
app/src/main/java/com/ (0, 2023-09-22)
app/src/main/java/com/hpn/ (0, 2023-09-22)
app/src/main/java/com/hpn/hmessager/ (0, 2023-09-22)
app/src/main/java/com/hpn/hmessager/bl/ (0, 2023-09-22)
app/src/main/java/com/hpn/hmessager/bl/conversation/ (0, 2023-09-22)
app/src/main/java/com/hpn/hmessager/bl/conversation/ConvMetadata.java (1299, 2023-09-22)
app/src/main/java/com/hpn/hmessager/bl/conversation/Conversation.java (6663, 2023-09-22)
app/src/main/java/com/hpn/hmessager/bl/conversation/Conversations.java (807, 2023-09-22)
... ...

# HMessager HMessager is a decentralized messaging app for Android based on the [Signal Protocol](https://signal.org/docs/) and build with [Jetpack Compose](https://developer.android.com/jetpack/compose). This project is under development and not ready for use. ## Server To setup a server you just have to run the script `server.py` located in the `server` folder. You can run it on a public IP or in a private network and then do port-forwarding. The code is pretty straightforward, it's just a simple Websocket server that listen for connections and then forward the messages to clients based on hashed identity if they are connected or store message locally if not. Then in HMessager, go to the settings screen and enter the IP and port of your server. setting screen --- ## Create conversation To create a conversation with someone, you have to scan his QR code and he must scan yours. 1. Click on the message icon in the bottom right corner of the home screen 2. Click on the scan button to scan the QR code of the person you want to chat with 3. Then click on the code button to show your QR code to the other person 4. The other person must scan your QR code 5. You can now create the conversation scan screen --- ## Security The [X3DH](https://signal.org/docs/specifications/x3dh/) and the [double ratchet algorithm](https://signal.org/docs/specifications/doubleratchet/) are used to provide end-to-end encryption. ### Data storage All your conversations, settings, keys and messages (including medias) are stored in the files storage of the app inaccessible to other apps and you. Their are also encrypted with different keys derived from a password that you have to enter when you open the app. The first time you open the app, you need to choose your password, this password will then be used to derive a master key. If you forget your password, you will lose all your data and it's impossible to recover them so be aware of that. password screen ### Algorithms used - SHA3-512 and SHA3-256 for hashing - X3DH with Curve25519 for key agreement - HKDF with SHA3-512 for key derivation - AES-256 for encryption - Ed25519 for signatures - HMAC with SHA3-512 for message authentication --- ## Features - [x] End-to-end encryption with a double ratchet algorithm - [x] Send and receive text messages - [x] Send and receive emojis only messages (big emojis) - [x] Send and receive images and videos - [x] Send and receive audio messages (with waveform) - [x] Send and receive files - [x] Choose images/video from gallery - [x] Choose files/audio from file explorer - [x] Take pictures/video with camera - [x] Record audio with microphone Currently group conversations are not supported, it's only possible to chat with one person at a time. ## Screenshots Here an exemple of a conversation with the app. home screen --- ## TODO - [ ] Add support to reply to a message (quote) - [ ] Add support for message reactions (emojis) - [ ] Add support for message deletion - [ ] Add support for text style in message (bold, italic, code, puce list, header...) - [ ] Add support for link preview - [ ] Group medias together (images and videos in a single message) - [ ] Add multiple themes

近期下载者

相关文件


收藏者