mrmabulous / gittrustedtimestamps Goto Github PK
View Code? Open in Web Editor NEWTrusted Timestamping for git repositories using RFC3161 and RFC5816 token
License: GNU Affero General Public License v3.0
Trusted Timestamping for git repositories using RFC3161 and RFC5816 token
License: GNU Affero General Public License v3.0
Thanks for the great project.
It would be very helpful if you would list the versions of awk
, sed
, bash
, etc., that you have developed under. I'm trying to use your work on OSX vanilla, and have already run into a problem due to my bash
version being too old.
I'm currently stuck with many errors like:
awk: syntax error at source line 2
context is
{ print > tmpdir >>> i <<< ".extracted.pem.cer" }
that pop up when I attempt to git commit
, and I'm guessing these are awk
version related.
I would be helpful if you could help me solve this problem.
MacOS Ventura 13.0.1
git commit Adding Timestamp commit. This may take a moment... .git/hooks/timestamping: line 194: local: -n: invalid option local: usage: local name[=value] ... .git/hooks/timestamping: line 195: local: -n: invalid option local: usage: local name[=value] ... .git/hooks/timestamping: line 196: local: -n: invalid option local: usage: local name[=value] ... awk: syntax error at source line 1 context is $0~trailerregex{ i++; insidetimestamp=1; print substr($0,urlstart) > tmpdir >>> i <<< ".extracted_token.url" } /-----END/{insidepem=0; insidetimestamp=0} insidepem{print substr($0,2) > tmpdir i ".extracted_token.pem"} insidetimestamp && /-----BEGIN/{insidepem=1} END {print i} awk: illegal statement at source line 1 .git/hooks/timestamping: line 303: local: -n: invalid option local: usage: local name[=value] ... Assertion failed: Precondition: Path to token file must not be empty. Backtrace: [1]: .git/hooks/timestamping : get_token_digest line 307 [2]: .git/hooks/post-commit : retrieve_crl_for_most_recent_parent_timestamps line 123 [3]: .git/hooks/post-commit : main line 151 Aborting commit.
Hello,
I'm trying to use your project, I like it a lot, to initialize a new git repository.
I cannot use the object format to sha256 because I have git version 2.17.
Anyway, I have initialized the repository and followed your step up to step 2.
At step 3 I get the following error when I run your script:
.git/hooks/trust.sh https://freetsa.org/tsr
dgst: Unrecognized flag -show-object-format
dgst: Use -help for summary.
Assertion failed: Precondition: digest 573541ac9702dd3969c9bc859d2b91ec1f7e6e56 must have length 0.
Backtrace:
[1]: .git/hooks/timestamping : request_token line 355
[2]: .git/hooks/trust.sh : main line 62
Could it be an issue with the git version?
Thanks
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.