]> Nutra Git (v1) - gamesguru/git-remote-gcrypt.git/log
gamesguru/git-remote-gcrypt.git
12 years agoDocument manifest fields better
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Document manifest fields better

12 years agoUse config gcrypt.participants for GPG key ids
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
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.

12 years agoUse URL fragment for repository id instead of G.*
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use URL fragment for repository id instead of G.*

12 years agoRequest signature on manifest before uploading pack
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Request signature on manifest before uploading pack

Just to ensure that the user signs the push before we upload any files
(pack or manifest) to the remote.

12 years agoSupport rsync://
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Support rsync://

12 years agoSimply detect if using git repository backend. gitception:// is unneeded
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
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.

12 years agoUse grep instead of sort/uniq
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use grep instead of sort/uniq

12 years agoUpdate README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README

12 years agoUse batch-check to use only the remote_has commits we also have locally
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use batch-check to use only the remote_has commits we also have locally

12 years agoAllow deleting remote refs
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Allow deleting remote refs

12 years agoOnly encrypt to keys with encrypt capability
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Only encrypt to keys with encrypt capability

12 years agoUpdate README so it can generate a man page with rst2man
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README so it can generate a man page with rst2man

12 years agoMinor cleanup (make sure used variables are clear at start)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Minor cleanup (make sure used variables are clear at start)

12 years agoAdd extension namespace in manifest files, 'extn' lines are preserved
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Add extension namespace in manifest files, 'extn' lines are preserved

12 years agoUse a packfile passphrase of 33 bytes, parity with 256-bit crypto
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use a packfile passphrase of 33 bytes, parity with 256-bit crypto

12 years agoObey git config user.signingkey
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Obey git config user.signingkey

12 years agoUse 'initial commit' as message for gitception commits
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use 'initial commit' as message for gitception commits

12 years agoUse a separate symmetric key per packfile (REPO FORMAT CHANGE)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
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.

12 years agoUpdate README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README

12 years agoFix microissues
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix microissues

12 years agoSimplify sort_stable_k2
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Simplify sort_stable_k2

12 years agoUse a shorter repository id in the URL, to simplify a tiny bit
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use a shorter repository id in the URL, to simplify a tiny bit

12 years agoFix trap resets
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix trap resets

12 years agoImplement stable sort (Lacking in POSIX)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Implement stable sort (Lacking in POSIX)

12 years agoSimplify isnull to use case
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Simplify isnull to use case

12 years agoAllow pushing into an empty repo using gitception://
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Allow pushing into an empty repo using gitception://

12 years agoUse git rev-list --stdin and cat-file --batch-check
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use git rev-list --stdin and cat-file --batch-check

12 years agoUse utility functions for testing for equal and null strings
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use utility functions for testing for equal and null strings

This way we do not show any sensitive data to the [ program.

12 years agoReplace use of printf and echo with a safe variant
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Replace use of printf and echo with a safe variant

Use  cat <<EOF  etc for safe output of all data to pipes (mostly that we
don't know what the shell does with echo and printf).

12 years agoBig coding style shakeup, use Titlecase and lowercase variables
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Big coding style shakeup, use Titlecase and lowercase variables

12 years agoFix quoting of '$' for grep
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix quoting of '$' for grep

12 years agoFix incompatibilities with bash
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix incompatibilities with bash

12 years agoFix reST syntax in README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix reST syntax in README

12 years agoUpdate README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README

12 years agoGenerate a Repository ID and verify it in the manifest (REPO FORMAT CHANGE)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Generate a Repository ID and verify it in the manifest (REPO FORMAT CHANGE)

This is a simplification and defends at someone maliciously switching
around different sign+encrypted manifest files of the same user. This
way we verify the repository we read is the repository we want.

Repo ID is not secret. Only requirement is that the same user does not
generate the same repo id more than onece.

12 years agoUse manifest file for master key, branches and packs (REPO FORMAT CHANGE)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use manifest file for master key, branches and packs (REPO FORMAT CHANGE)

12 years agoUpdate README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README

12 years agoWhen decrypting or verifying the master key, check input type
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
When decrypting or verifying the master key, check input type

We rely on gpg to exit with success, but we also check the status output
to verify that the expected action (decrypt with privkey or verify) was
performed.

12 years agoProvide clear messages for signing and verifying
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Provide clear messages for signing and verifying

12 years agoUse gpg --secret-keyring /dev/null where possible
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use gpg --secret-keyring /dev/null where possible

12 years agoUse gpg --with-colons --print-md
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use gpg --with-colons --print-md

12 years agoWrite gitception_get in a simpler way
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Write gitception_get in a simpler way

12 years agoFix retval of gitception_get
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix retval of gitception_get

12 years agoREADME, describe new option gcrypt.keyring
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
README, describe new option gcrypt.keyring

12 years agoRequire signed masterkey (REPO FORMAT CHANGE)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Require signed masterkey (REPO FORMAT CHANGE)

12 years agoUse git config gcrypt.keyring for repository security
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use git config gcrypt.keyring for repository security

To verify signatures, we need a small keyring where the user has
selected just the keys who are allowed to access and update the
repository.

12 years agoDisable keyring when using symmetric crypto
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Disable keyring when using symmetric crypto

12 years agoCleanup manifest verification, require a non-empty manifest
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Cleanup manifest verification, require a non-empty manifest

12 years agoFix bugs with gitception://<giturl> related to concurrency with git
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix bugs with gitception://<giturl> related to concurrency with git

Make sure we do not overwrite FETCH_HEAD. Using stacked gitception://
URLs was useful to make sure we handle our temporaries in a safe way.

12 years agoFix bug in do_fetch, skip empty line
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix bug in do_fetch, skip empty line

12 years agoUse `xgrep` function to always exit grep with success
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use `xgrep` function to always exit grep with success

12 years agoFix locale handling so that gpg and git use the user locale
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix locale handling so that gpg and git use the user locale

12 years agoUse git index-pack for much better fetch and clone
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use git index-pack for much better fetch and clone

12 years agoFix bug with batch mode
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix bug with batch mode

12 years agoUse only one git push for each push through gitception://
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use only one git push for each push through gitception://

12 years agoAllow using any git repo using gcrypt::gitception://<giturl> (Experiment)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Allow using any git repo using  gcrypt::gitception://<giturl> (Experiment)

12 years agoUse SHA-224 for pack file ID (REPO FORMAT CHANGE)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use SHA-224 for pack file ID (REPO FORMAT CHANGE)

12 years agoUpdate README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README

12 years agoNo default cipher-algo(!) use gpg' user's settings!
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
No default cipher-algo(!) use gpg' user's settings!

12 years agoAllow signing of the manifest file, and verifying signatures
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Allow signing of the manifest file, and verifying signatures

12 years agoMatch just the manifest lines that start with sha-1 for the refs
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Match just the manifest lines that start with sha-1 for the refs

12 years agoUse gcrypt: prefix for info messages
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use gcrypt: prefix for info messages

12 years agoDisable compression before encryption
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Disable compression before encryption

12 years agoAdd comment for configuration parameter split
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Add comment for configuration parameter split

12 years agoFix do_list to not break when branchlist is empty
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix do_list to not break when branchlist is empty

12 years agoUse an append function, and other cleanups
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use an append function, and other cleanups

12 years agoUse 'pack' lines in manifest for packs (REPO FORMAT CHANGE)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Use 'pack' lines in manifest for packs (REPO FORMAT CHANGE)

12 years agoMove getting master key and manifest into ensure_connected
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Move getting master key and manifest into ensure_connected

12 years agoFix warnings from shellcheck
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fix warnings from shellcheck

12 years agoFixup the README
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Fixup the README

12 years agoSmall cleanup
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Small cleanup

12 years agoUpdate README (A git remote helper for GPG-encrypted remotes)
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Update README (A git remote helper for GPG-encrypted remotes)

12 years agogit-remote-gcrypt: A git remote helper for GPG-encrypted remotes
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
git-remote-gcrypt: A git remote helper for GPG-encrypted remotes

12 years agoInitial commit
root [Thu, 14 Feb 2013 00:00:00 +0000 (00:00 +0000)]
Initial commit