[PATCH 0/4] Some improvements for git-imap-send
- From
- Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
- Date
- Feb 9, 2010, 12:09 UTC
- Message-ID
- <1265717345-2118-1-git-send-email-mitake@dcl.info.waseda.ac.jp>
- In-Reply-To
- <7vaavj8h1k.fsf@alter.siamese.dyndns.org>
Hi Git folks,
Thanks for your patch ( http://article.gmane.org/gmane.comp.version-control.git/139186 ), now I can enable boolean values with no assign statement in imap section like "preformattedHTML" in .gitconfig.
This patch series adds two new options to git-imap-send, "auth-method" and "lf-to-crlf".
Users can specify authenticate method with "auth-method". This patch also adds new auth method "CRAM-MD5".
Some strict IMAP servers (e.g. Cyrus) don't allow "bare newlines" in messages. If "lf-to-crlf" enabled, git-imap-send converts LF to CRLF("\r\n") before storing messages to draft folder.
If you think these are useful, please use.
Thanks,
Hitoshi Mitake (4): Add base64 encoder and decoder Add stuffs for MD5 hash algorithm git-imap-send: Implement CRAM-MD5 auth method git-imap-send: Add method to convert from LF to CRLF
Documentation/git-imap-send.txt | 9 + Makefile | 6 + base64.c | 122 ++++++++ base64.h | 36 +++ imap-send.c | 137 ++++++++-- md5.c | 600 +++++++++++++++++++++++++++++++++++++++ md5.h | 61 ++++ md5_hmac.c | 137 +++++++++ md5_hmac.h | 36 +++ 9 files changed, 1127 insertions(+), 17 deletions(-) create mode 100644 base64.c create mode 100644 base64.h create mode 100644 md5.c create mode 100644 md5.h create mode 100644 md5_hmac.c create mode 100644 md5_hmac.h