Commit graph

36 commits

Author SHA1 Message Date
Joey Hess
83d519179f --check option to see if a repo exists and can be decrypted
This is to allow programs to determine if a repo uses gcrypt, per #6.

Since this program already knows the name of the manifest file and how to
download it and decrypt it, it makes sense to do the check here rather than
in, eg, git-annex.
2013-09-19 12:03:33 -04:00
Joey Hess
243671037f add remote.<name>.gcrypt-signingkey config
This is needed by git-annex assistant when it sets up a gcrypt repository,
to ensure that the gpg key it was asked to use to encrypt the repo is the
same key used to sign it. If it's not, pulling from the repo won't work,
due to git-remote-gcrypt's "Only accepting signatories" check.

The user may have a global user.signingkey setting (I do), but be setting
up a different special-purpose key for encrypting their git repo. The
git-annex assistant cannot mess with the global value, so needs this to
override it.
2013-09-17 15:30:25 -04:00
root
79b997382a README: Don't mention keyring files, it's not relevant anymore 2013-03-12 23:28:41 -07:00
root
0b459b4b87 Add license header and the text of the GNU GPL 2013-03-03 09:02:43 +01:00
root
7c45d73f4e Edit wording in README 2013-01-21 17:37:06 -05:00
root
d85190ef51 README: Fix to use remote id 2012-11-29 07:45:29 +05:00
root
872e82a427 Update license text 2012-11-16 03:47:51 -03:00
root
007bfb29de Fix markup of Repository Format section 2013-01-03 16:31:03 +01:00
root
aeb3135bcb Edit README 2013-01-20 19:22:44 +08:00
root
85e65ca48e Organize the README in a neat way, putting extra info in the Notes chapter 2013-02-14 00:00:00 +00:00
root
cc3fd5b985 Edit the summary of the repository format/process 2013-02-14 00:00:00 +00:00
root
b6cd6f7138 Tone down the development version warnings
We have now implemented the usability changes (No fragment in repository
URL, and default encrypt-to-self), so no big changes planned.
2013-02-14 00:00:00 +00:00
root
eb4b324542 Use a shorter, simpler repo ID since users will see it (occasionally) 2013-02-14 00:00:00 +00:00
root
789cb4d7c3 Update README for remote.<name>.gcrypt-participants and default simple mode 2013-02-14 00:00:00 +00:00
root
14da0a4d33 Migrate to SHA-256 and implicit repo ID (PARTIAL REPO FORMAT CHANGE)
* local, rsync, ssh, sftp repositories are still compatible
* gitception/git backend repositories are not compatible and need to be
  deleted and recreated
* Put manifest in a static location, so we don't need #fragment in the URL
* Record repository ID for each remote, and warn if it changes.
* Use SHA-256 by default but allow reading SHA-224-identified packfiles
* The URL #fragment identifies branch to use when using the git backend
2013-02-14 00:00:00 +00:00
root
402eca0a09 Give warning about future format change 2013-02-14 00:00:00 +00:00
root
5c16aa4bda Allow user to set $GCRYPT_FULL_REPACK to force repack of remote 2013-02-14 00:00:00 +00:00
root
677df0e31b Use rsync for both rsync and ssh access 2013-02-14 00:00:00 +00:00
root
68ff0eb7c4 Document the keep field 2013-02-14 00:00:00 +00:00
root
6f0af6d0ff Simplify informational output to emphasize the new repo URL 2013-02-14 00:00:00 +00:00
root
3a7f96671e Add ./install.sh to install git-remote-gcrypt and its man page 2013-02-14 00:00:00 +00:00
root
bb0f05e03a Document manifest fields better 2013-02-14 00:00:00 +00:00
root
7aa54e1ae6 Use config gcrypt.participants for GPG key ids
Instead of using a separate keyring file (gcrypt.keyring is now
deprecated!), use a simple list of key ids. Extract all keyids and use
these to match GOODSIG <keyid> manually on the gpg status output.

The gcrypt.keyring variable is still used, but it will be removed later.
2013-02-14 00:00:00 +00:00
root
6173d0ffe0 Use URL fragment for repository id instead of G.* 2013-02-14 00:00:00 +00:00
root
b1f7d3ec22 Support rsync:// 2013-02-14 00:00:00 +00:00
root
e2de0ce73f Simply detect if using git repository backend. gitception:// is unneeded
Simply treat absolute paths that do not lead to a HEAD file as local
directory backends, and all other as git backends.
2013-02-14 00:00:00 +00:00
root
0a1730741c Update README 2013-02-14 00:00:00 +00:00
root
8e1246e738 Allow deleting remote refs 2013-02-14 00:00:00 +00:00
root
aa4b80db7f Update README so it can generate a man page with rst2man 2013-02-14 00:00:00 +00:00
root
6c203aaa77 Add extension namespace in manifest files, 'extn' lines are preserved 2013-02-14 00:00:00 +00:00
root
e26f617761 Obey git config user.signingkey 2013-02-14 00:00:00 +00:00
root
63d7a7437e Use a separate symmetric key per packfile (REPO FORMAT CHANGE)
A separate key per pack is simpler and costs us very little; with
repack changes later it will be possible to change keys regularly.
2013-02-14 00:00:00 +00:00
root
1cb9281b45 Update README 2013-02-14 00:00:00 +00:00
root
4fe095e1c7 Use a shorter repository id in the URL, to simplify a tiny bit 2013-02-14 00:00:00 +00:00
root
6d36367de5 Fix reST syntax in README 2013-02-14 00:00:00 +00:00
root
7d849acd12 Update README 2013-02-14 00:00:00 +00:00