-
Notifications
You must be signed in to change notification settings - Fork 127
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
non working header? #149
Comments
If not, make sure you are calling the right program,; the one you just compiled, not a system-wide installation. For example by providing the full path ``zig-out/bin/minisign`. |
I wouldn't just close this. I am not using zig but using C. With your OWN CMAKE setup. vanilla. all you have to do is mkdir b;cd b; cmake ..;make and you would see the effect. If C is "unsupported" then don't add it, certainly not a build system. :) IF however, you are getting the expected error, which I (should* be getting too, it's amazingly odd.. unless some kinda crazy caching system here or whatever would be at play... I am on archlinux/voidlinux a few others. (and for the record, by looking at C code, it should absolutely throw an error, yet doesn't). I built with zig, still works without any issue.. despite changing all three ALGS this is what I get. yes, this is the local.... I seen this across OSes too. And for the record, I obviously change other values too like version in that header just to be sure it's not some bizarre ghost header being used and sure enough it all updates.. yet not those. |
Linux is not easy to use. Keep experimenting, this is the best way to learn! |
Ditto. Just next time, when you don't have verified your building code. don't just close stuff. Cheers. Broken code. You download your own master and build it you get the error correctly? If so, smells of a potential compiler bug on arch which when I have the bother to look into more, I guess I will as this was a cul-de-sac. |
HI.. yes, it's a "broken system". Indeed there is some weird 'caching' going on, can be within a few ocmpilation rounds, sometimes it seems it lingers for hours... I had to recover some libs a while back, it's either this or more frighteningly, a nefarious logger or so. No caching mechanisms exist on this system (ccache or similar). When I ran a compilation today a day later, the header gets 'updated' and I get the result. I have noticed this many times but I have been dismissing it. now I know this system has to go. Cheers. (no wonder I thought I was going insane though :)) |
Hi there. when I pull this down, and change the header defines, e.g.
#define SIGALG "eD"
#define SIGALG_HASHED "DE"
#define KDFALG "cS"
absolutely eff all happens.
So, they make no difference, why??? I can't make it out. I look in the code say for pubkey recreation or so
ithere are memcmp yet when checking they are in fact different (e.g. CHKALG and seckey_struct->chk_alg)
if (memcmp(seckey_struct->chk_alg, CHKALG, sizeof seckey_struct->chk_alg) != 0) {
exit_msg("Unsupported checksum function");
never fires... I am going insane here I think.. maybe you can point out what is going on?
The text was updated successfully, but these errors were encountered: