Skip to content

uTox/Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Gregory Mullen (grayhatter)
Jan 19, 2017
f95cca4 · Jan 19, 2017

History

79 Commits
Jul 8, 2014
Jan 17, 2017
May 6, 2015
Jul 20, 2015
Mar 16, 2015
Jul 20, 2015
Jan 16, 2017
May 4, 2015
Jan 19, 2017
Jun 4, 2015
Jan 16, 2017
Jan 19, 2017
Jan 19, 2017

Repository files navigation

#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

About

The Update program/tools used in uTox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages