-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Linux app #27
Comments
Let me handle this issue! This is how I will work it:
But in order to achieve this I would like to know:
Thanks. |
thanks a lot @josueCarvajal !
@josueCarvajal sounds great! The goal of this issue is more like checking that it works, hence the "good first issue", but if you want to create test cases and audit it, please go ahead! But lets create other specific issues.
The installer is based on this project, at the moment its only Debian: https://github.com/luisza/dfva_client/
As mentioned maybe I can create other issues for this
Since it is a PoC, there are many scenarios that I haven't tested, so just make it crash and document it.
|
Update no1Environment:
Summary (Tests done until now)
Findings (General)
Findings (Details):
2.1 So I decided to install the Gaudi Agent (which required a dependency installed as well) But after clicking "OK" the system crash with an error in the line https://github.com/wbond/certvalidator/blob/master/certvalidator/registry.py#L316 for the My Firma Digital is working as expected outside the ZK-Firma Digital. I will continue with the testing and giving you updates once I can move forward this problem and I'll make sure it is not an isolated problem at my end, also, please let me know if this is a known issue. So far this is the progress I did today, and this last finding is a blocker right now. Thank you for reading and I will keep you posted! |
Hi @josueCarvajal , thanks a lot for working on this! Great summary! Ill star creating issues to solve the problems and improve the docs. When did you get your Firma Digital? It seems like there is an older and newer certificate from the CA:
The app is only using (2) at the moment, but thats easy to fix. |
Thank you @kuronosec That will explain the issue, the error code was related to (1) since I got my firma digital back in 2021. Please let me know if any action is needed at my end to fix this problem and proceed with the testing. Thank you so much! |
@josueCarvajal I have added several issues related to this, maybe you would like to work on #32 ? |
@kuronosec Sure, I can give it a shot! |
It seems like someone went ahead and sent a PR already 😮 |
Hey @josueCarvajal I have just pushed the release version v0.5 with several fixes thanks to your suggestions. Could you try it again? Thanks! |
Those are amazing news! Sure, I will continue with the testing, thank you so much! |
Update no2Environment
Summary (General)
Findings (General)
Findings (Details)I've upgraded to the v.05 version without any issues. When I try to generate the Credential.json The message of the dialog shown in the previous SS, referts to this part of the code Line 146 in bedfbdd
BUT zk-firma-digital/src/circom.py Line 65 in bedfbdd
Initially I though it was a problem related to privileges but I ran it using After checking deeper in the code, the circom witness requires two files, an input.json and a witness.wtns When searching those files on my machine since the code is looking to a Actually, there are only two files in this directory which feels a little bit un-expected So far the installation went okay, but now we are facing the circom issue. I am not sure if it is an expected behavior that the witness.wtns is missing but I wanted to highlighted just in case it was not expected. I can continue the testing once this specific issue gets fixed, |
Hi @josueCarvajal thanks a lot for continue testing this. Could you show me what do you get from executing this?: cat ~/.zk-firma-digital/logs/app.log |
Happy new year @kuronosec! Using those logs I was able to figure it out. Give me some time to properly document all the findings! |
Update no3Environment
Summary (General)
Findings (General)
Findings (Details)
So I tried to run it again but faced new issue, so after reading the log suggested by @kuronosec I was able to see that Node was not installed on my system, after installing it I faced the problem with the SnarkJS dependency not installed.
To fix this issue I had to increase the VM resources which started with 2GB of RAM and 4 CPU Cores but had to increase it to 16GB of RAM and 8 CPU Cores, after doing this the system was able to work!! :D When hitting the prove section it got stuck in this way for 2 minutes and then generated the credential.json With this, I was able to open the comands.txt and credentials.json successfully. So I went to http://app.sakundi.io:8080/ and uploaded my credential: It took some time to process but it failed with: With that, we are almost done, but I was not able to identify what was causing this key mismatch. This is the last step in the ladder that we need to fix to validate the whole process! So far, I will recommend trying to add to the docs the core dependencies that are needed before installing ZK-Firma-Digital, or even better if we could install those if they are missing in the system. Also, suggest the system requirements needed to run the circuits. Thanks! |
Hi @josueCarvajal , thanks a lot again for the deep review! Would you like me to create some issues, so you can fix the dependencies or even the documentation? |
It's a pleasure @kuronosec ! Sure, please create those and if possible, assign those to me |
Run the Linux app with a Firma Digital and check for errors
The text was updated successfully, but these errors were encountered: