Commit Briefs

8d4a8ca19c Josh Rickmar

Do not segfault verifying "lightweight" tags

ok stsp@



d68f2c0e20 Josh Rickmar

add signer_id option to got.conf(5)

Setting this option will cause 'got tag' to sign all created tags using the SSH key, unless overridden by the -s flag. ok stsp@


2eeb8068d7 Josh Rickmar

regress test SSH key revocations

ok stsp@




5c5d88bfed Josh Rickmar

remove duplicate test_parseargs call

spotted by op@


a82759bba7 Josh Rickmar

fix echo/printf order and actually run the test


2c0a0d66f9 Josh Rickmar

whitespace fix


91d845ad5d Josh Rickmar

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@


4d5ee9564a Josh Rickmar

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@


8c4a6db854 Stefan Sperling

make it possible to show just one tag with 'got tag -l'

suggested by jrick ok jrick jamsek


49c543a6fe Christian Weisgerber

use test(1) -eq and -ne to compare integers, and reduce quoting

This brings the rest of the regression test scripts in line with patch.sh.


138e4f4798 Stefan Sperling

display the requested object type when an object could not be found

ok millert@



a966211500 Christian Weisgerber

add missing "return 1" to failure handling in the regress scripts

ok stsp@



f6cae3ed1e Christian Weisgerber

switch function declarations from Korn shell to Bourne/POSIX shell syntax

ok stsp


7fb414ae4d Stefan Sperling

add a -q option to tests for quiet output and use it for 'make regress'

Previous default output remains when test cases are run individually. ok tracey


b90c30485c Stefan Sperling

adjust expected "object not found" error output in tests




d4efa91b5a Stefan Sperling

handle Git-style "lightweight" tags in got tag -l