Commits
- Commit:
0141ae45ce4657625b86e5c2619ec279d6245d3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add -v option to 'got tag' usage string
- Commit:
561555dbccb5019213320401bdae3dfe5c863c46
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove parts of tag_create_ssh_signed which just duplicate the tag_create test
- Commit:
60cf507132c154811cbfda9500ad13d24c6edd88
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got tag -V is like tag -l with verification, fix option-conflicts accordingly
- Commit:
ebc58f124450a45aa84172f009cdf14d9974e1ed
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
in tests, verify that tag -V behaves like tag -l plus signature verification
- Commit:
6304661828605dbefa07fb027fdbb8fd5225c7e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add -V option to 'got tag' usage string, and replace underscore with a hyphen
- Commit:
2140c6ec5634ddee572383944f0903ab7b0b829f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check for specific chars instead of using isspace(3)
Reminded by naddy and stsp; it was missing a cast to unsigned char to
prevent issues on archs with signed chars and was too broad anyway.
While here, drop an extra check immediately after.
ok stsp@
- Commit:
ef0f20a88731571e4b4e9152da6cd4d9aac43c49
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
got_date.h: add explicit #includes
Don't rely on implicit/"hidden" includes, but rather add them to the
header file so their inclusion doesn't result in missing values.
Although not explicitly a functional change, this does help -portable.
This ensures size_t/time_t are always present.
OK @jrick
- Commit:
2b82da7bd8cb089164cb6cffd0b432cafc419e2b
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove duplicate test_parseargs call
spotted by op@
- Commit:
492a65d96959699d932279aa01d107873d63e6d1
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix echo/printf order and actually run the test
- Commit:
d5775a924f8ec6caf66632ba97992ea7345cfb4e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: object_create: remove sys/queue.h
This is included portably.
- Commit:
ea578852ff281265d092b0b31e96a35b18cf4557
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Add time_t
- Commit:
eb427b1c53fb6c01794f6603557c1d626bf2b03c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add sigs/buf for signed commits
Add support for upstream's tag signing commits, but adding the relevant
files to autotools, and making those portable-compatible.
- Commit:
94ff3fb6acdc73dd5e3ecfee1cf41683fc554593
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
create and verify tags signed by SSH keys
This adds a new -s flag to 'got tag' that specifies the signer
identity (for example, a key file) of the tagger. The tag object will
include a signature that validates each of the tag object headers and
the tag message.
Verifying these signed tags requires maintaining an allowed signers
file which maps signer identities (i.e. the email address of the
tagger) to SSH public keys. See ssh-keygen(1) for more details of the
allowed signers file. After creating this file and providing the path
to it in got.conf(5) using the allowed_signers option, tags may be
verified using with 'got tag -V tag_name'. The return code will be
non-zero if a signature fails to verify.
ok stsp@
- Commit:
c4d68ce0204aead5a093258cb25988e5591fc080
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Use pipe() which is a more understood syscall than pipe2() which doesn't
exist on MacOS, for instance. Since we we're passing in 0 to pipe2(),
this mean no fcntl() flags were being sent. As such, it's the same
syscall as pipe() which also has the added benefit that it's more
portable.
committing on behalf of thomas with my ok
- Commit:
ea08db7370b707e1f93ff35bc8f69ad9d6043df8
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
whitespace fix
- Commit:
64313a9ca0c0dcc6618c399f11960a44cda569b4
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix tag signing when the key file does not exist
This should fail without creating any tag. Before, ssh-keygen(1)
would print an error to stderr, but got would create an unsigned tag.
ok op@
- Commit:
d40a767d29b8dedc179d18a0df070f47ab334747
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog man page: provide a hint about differences between Myers and Patience
- Commit:
459c9b5d729663985a65eb88b5bb8955ca336251
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got.conf(5) mirror-references to mirror_references for consistency
Existing configuration files will keep working for now since the old name
with dashes is still recognized by the config parser.
- Commit:
25eb584767361afbce3002356d91ff8d0a2a0ec0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got.conf(5) fetch-all-branches to fetch_all_branches for consistency
Existing configuration files will keep working for now since the old name
with dashes is still recognized by the config parser.
- Commit:
634cb454457dd3f5f7de912c24fdc8abb3aaed0d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: add C-g/backspace key map to abort compound cmds
Problem reported by stsp: 9999j would tie up tog till completed. While here,
trim trailing whitespace in tog.1 and make C-g alias existing backspace abort
key map for search and G in log view.
ok op@ and stsp@
- Commit:
444d532558298b49ff0edc7fc0376d71b5fa00b0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: expand horizontal split support to all views
With this, hsplits are now available to the same parent/child view combinations
as vsplits. Includes OB1 log truncation fix from op@ that was reported by stsp.
ok stsp@
- Commit:
871bd038071fdaf6129995ef9f56226616b47d25
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
create and verify tags signed by SSH keys
This adds a new -s flag to 'got tag' that specifies the signer
identity (for example, a key file) of the tagger. The tag object will
include a signature that validates each of the tag object headers and
the tag message.
Verifying these signed tags requires maintaining an allowed signers
file which maps signer identities (i.e. the email address of the
tagger) to SSH public keys. See ssh-keygen(1) for more details of the
allowed signers file. After creating this file and providing the path
to it in got.conf(5) using the allowed_signers option, tags may be
verified using with 'got tag -V tag_name'. The return code will be
non-zero if a signature fails to verify.
ok stsp@
- Commit:
39b829747f18e3f29fe9a14487752d62711b1c0e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix imsg_add TREE_ENTRY: Result too large on i386
There's a math error when computing the size of one entries in the
batching code. Reported by semarie, ok semarie stsp
- Commit:
fd8b4acb31083b84aa6c11e7d87a13c09c4a73f2
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix leftovers from long -> int change
when changing the line addresses to be int from long the report
callaback was forgotten.
- Commit:
bb90ca7bc134f43cfda3c6f5e5d0faac9f116820
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got patch: handle mangled whitespaces
This makes 'got patch' try to ignore whitespaces when trying to match a
hunk.
Discused with and ok stsp@