Giter Club home page Giter Club logo

esse's People

Contributors

daocuong avatar dependabot[bot] avatar joeydarko avatar omahs avatar sunhuachuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esse's Issues

[Feature] encrypted local SQLite database.

What ?

Encrypted local SQLite database.

Why ?

Encrypted everywhere.

How ?

  • use sqlcipher to handle SQLite. use rusqlite and features bundled-sqlcipher-vendored-openssl. (better for cross-compile)
  • update tdn_storage API. use open(path: PathBuf, password: &str)
  • update ESSE
    • account.db: use device's local secret (every device drive it randomly when first launch) to encrypt/decrypt.
    • account's database: use user encrypt key (which is encrypted by user's PIN and secret) to encrypt/decrypt.

error: $./rust.sh in zsh

$ ./rust.sh linux          
./rust.sh: 2: Syntax error: "(" unexpected

Fix

Add default sh #!/bin/bash to rust.sh

#!/bin/bash
#### Default Current Machine
function current() {
    cargo build --release

    ## check now os.
}
...

[Doing] use "PeerID" replace "ESSE ID & PeerID".

Now, if you search a friend, you need to know ESSE ID and PeerID.
How about only use PeerID ?

Advantages

  1. Easy to understand
  2. User info is smaller
  3. Easy to handle network connect/disconnect

Disadvantages

  1. Can't at same time online multiple accounts. (one account is one PeerID)
  2. Login before network start
  3. Logout will make network stop
  4. Change account, restart network
  5. Difficult to identify whether connecting to cloud service

Step

  1. chamomile support stop network, restart network, and TDN also add
  2. Refactor account system

How

use new ID (string)

pub fn id(peer: &tdn_types::primitive::PeerId) -> String {
    bs32::encode(&peer.0)
}

Making installer, and publish to app store.

For safer and more convenient

Android

Now that is apk, can install, but we need to upload to Play Store

IOS

First, I need to register an IOS developer account. And then upload to App Store.

macOS

Also need account, and upload to App Store.
Need test on M1 device (arm64)

Windows

Make Windows installer. Try msix

Linux

Upload to snap

Problem with understanding logic.

Can you explain why the Rust is in the same file as Flutter? I am trying to understand all the logic to be able to install this locally. I have problems running the application in XCode. I only get splash screen for a few seconds and kick me out.

Add NFT as account avatar.

I think NFT can be as avatar.

When import an account with secp256k1, it will have ETH address. So we can use a NFT that belongs to this address as avatar.

Next version 0.6

What is the plan of 0.6 ? (Breaking changes)

List

  • Data structure defined Data-Protocol.
  • Local encrypted database.
  • Refactor distributed synchronization between devices.
  • Optional cloud-based data centre.
  • DAO and organization application (Maybe in 0.7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.