ozzi- / php-app-updater Goto Github PK
View Code? Open in Web Editor NEWbasic update mechanism (server & client) for php applications
License: GNU General Public License v3.0
basic update mechanism (server & client) for php applications
License: GNU General Public License v3.0
Hello @ozzi- from a fellow CH living abroad :)
This is a cool library that you have created here, and I have adopted it (with some changes and refactoring) to a project of mine.
I was however wondering what the purpose of checkSignature.sh
file is?
I get it - it validates the signature. But we just created that signature ourselves on our server using our zip file.
So why would we want to validate it?
The end user (client) wouldn't use this file anyway, so I am confused as of why we as the "owners" would use it.
Then out of curiosity I run it, and surprisingly it told me that the signature was invalid (something with "tabs incorrect")
I am pretty sure the signature is valid as I had just created it, and also the entire process works just fine.
Mind to shed some light?
A few details
updateDB.sh
uses (probably) windows EOLs and throws errors when used (on unix systems).unix
instead. Perhaps worth a note on the readme?createKeyPair.sh 400
createSignature.sh 500
db.json 644
hash 600
(I amended the createSignature.sh
file to include a chmod 600 hash
on line to to achieve this automatically)index.php 644
private_key.pem 600
public_key.pem 644
signature 644
updateDB.sh 400
Thanks for the work you did on this, it was a great kickstarter for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.