Re: [RFC/WIP PATCH 11/11] Document protocol version 2
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2015, 17:06 UTC
- Message-ID
- <xmqqoaky3ur9.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAGZ79kaRTLX7eBCOA=yQHVwcN-H-o_aZFfQ1gw7Nx-NC82pbag@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> I think the recent issue with the push certificates shows that having arbitrary > data after the = is a bad idea.
I do not think push certificate episode tells any such thing.
It was about not carefully using cryptography with arbitrary data. How that arbitrary data came to the machinery is irrelevant. We could have used base-64 to encode the server nonce when transferring it to the machinery via capability, but then decode it in order to place it in the cerficiate.
Do not restrict transport for such a reason and make legitimate uses of the transport unnecessarily harder for later users. What needs to be done is to think how the data that was transport was used.