Coder Social home page Coder Social logo

utox-update's Introduction

#Self-updater for uTox downloads signed updates from dl.utox.org

#How it works

  1. Builds are made locally and signed with libsodium's crypto_sign_ed25519() and my secret signing key then uploaded to dl.utox.org

  2. Updater reads the latest version (dl.utox.org/version), if it already has this version it skips to last step

  3. Downloads dl.utox.org/OSARCH-latest over http (ex: win64-latest for windows 64 bit)

  4. Uses libsodium's crypto_sign_ed25519_open() using my public signing key (88905F2946BE7C4BBDECE467149C1D7848F4BC4FEC1AD1AD6F97786EFEF3CDA1) to verify the build

  5. Checks the 4 byte timestamp to verify that the build is not expired (1 week)

  6. Decompresses the build, writes it to a file

  7. Run the file

#Adding and modifiying resources

  • The resource.rc file contains the main dialog definition, default icon, and mainfest that enables visual styles.
  • Use ResEdit to open and modify it.

#Building

  • requires mingw-w64
  • requires libsodium 1.0.0 (github, binary releases)
  • on windows use build.bat
  • on linux use build.sh

#Todo

  • Remove libsodium dependency

utox-update's People

Contributors

irungentoo avatar notsecure avatar mohamedkomalo avatar tsudoko avatar towlie avatar

Watchers

James Cloos avatar ? avatar

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.