Here's solution, it works on clean Windows 10 without TESTSIGNING ON.
status = CiValidateFileObject(FileObject,
0x00000020, // magic flag
0,
&policyInfo,
&timeStampPolicyInfo,
&signingTime,
thumbprint,
&thumbprintSize,
&thumbprintAlgorithm);
Tested on build 19041 and 19045.
I spent 5 hours of my time on it and I am happy it wasn't a month.
I don't want your bitcoins but I appreciate virtual hugs
Via https://github.com/Ido-Moshe-Github/CiDllDemo/issues/5#issuecomment-2725851295
> Here's solution, it works on clean Windows 10 without TESTSIGNING ON.
> status = CiValidateFileObject(FileObject,
> 0x00000020, // magic flag
> 0,
> &policyInfo,
> &timeStampPolicyInfo,
> &signingTime,
> thumbprint,
> &thumbprintSize,
> &thumbprintAlgorithm);
>
> Tested on build 19041 and 19045.
> I spent 5 hours of my time on it and I am happy it wasn't a month.
> I don't want your bitcoins but I appreciate virtual hugs
nefarius
changed title from Document `CiValidateFileObject` magic flag `0x00000020` to Document and test `CiValidateFileObject` magic flag `0x00000020`2025-03-15 13:47:02 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Via https://github.com/Ido-Moshe-Github/CiDllDemo/issues/5#issuecomment-2725851295
Document `CiValidateFileObject` magic flag `0x00000020`to Document and test `CiValidateFileObject` magic flag `0x00000020`