Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Johannes Zink <j.zink@pengutronix.de>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: users@linux.kernel.org, tools@linux.kernel.org, kernel@pengutronix.de
Subject: Re: b4: Feature-Request: use salted hash for change-id instead of descriptive-name when using b4 prep
Date: Mon, 05 Jun 2023 09:26:17 +0200	[thread overview]
Message-ID: <87edmqjrom.fsf@baylibre.com> (raw)
In-Reply-To: <43916f96-a00a-119b-7438-a875fdcd50f6@pengutronix.de>

Hi Johannes,

On lun., juin 05, 2023 at 08:10, Johannes Zink <j.zink@pengutronix.de> wrote:

> Hi Konstantin,
>
> On 6/2/23 18:50, Konstantin Ryabitsev wrote:
>> On Fri, Jun 02, 2023 at 10:00:11AM +0200, Johannes Zink wrote:
>>> Hi,
>
>>>[snip]
>>> I would like to ask if there is a possibility to change this to using a
>>> salted hash instead (salt is probably required due to rainbow table attacks)
>>> for messageID and changeID. If this would break some workflows, it could
>>> possibly be added as an optional command line argument for b4 prep?
>> 
>> I will consider this request. For now, you can manually edit the cover letter
>> commit to change the JSON bit there that records the change-id.
>
> thanks, that will definitely help for now, though it would be great to have it 
> supported natively in b4 prep.
>
>> 
>> E.g. right after you create a new b4-tracked branch using "b4 prep -n", you
>> can run "git commit --amend --allow-empty" and modify the change-id to be
>> whatever you like. Note, that you should only do this before you send out any
>> revisions.
>> 
>
> is that equivalent to do b4 prep --edit-cover?

No, it is not. b4 prep --edit-cover does not show the
"--- b4-submit-tracking ---" section that Konstantin recommended you to
edit.

You can only edit that with "git commit --amend --allow-empty"


>
> Johannes
>
>> -K
>> 
>
> -- 
> Pengutronix e.K.                | Johannes Zink                  |
> Steuerwalder Str. 21            | https://www.pengutronix.de/    |
> 31137 Hildesheim, Germany       | Phone: +49-5121-206917-0       |
> Amtsgericht Hildesheim, HRA 2686| Fax:   +49-5121-206917-5555    |

  reply	other threads:[~2023-06-05  7:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02  8:00 b4: Feature-Request: use salted hash for change-id instead of descriptive-name when using b4 prep Johannes Zink
2023-06-02 16:50 ` Konstantin Ryabitsev
2023-06-05  6:10   ` Johannes Zink
2023-06-05  7:26     ` Mattijs Korpershoek [this message]
2023-06-05  7:32       ` Johannes Zink

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edmqjrom.fsf@baylibre.com \
    --to=mkorpershoek@baylibre.com \
    --cc=j.zink@pengutronix.de \
    --cc=kernel@pengutronix.de \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@linux.kernel.org \
    --cc=users@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox