All of lore.kernel.org
 help / color / mirror / Atom feed
* b4: Feature-Request: use salted hash for change-id instead of descriptive-name when using b4 prep
@ 2023-06-02  8:00 Johannes Zink
  2023-06-02 16:50 ` Konstantin Ryabitsev
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Zink @ 2023-06-02  8:00 UTC (permalink / raw)
  To: konstantin, users, tools; +Cc: kernel

Hi,

first of all: thanks for creating and maintaining b4, it makes my daily kernel 
developer's life so much easier...

Accidentally I came across a (documented [1]) behaviour of b4 prep that is a 
little dangerous for my workflow: the descriptive-name is incorperated in the 
MessageID and the changeID in plaintext.

While for most applications this is probably fine, sometimes I use branch names 
along the line of "upstream-feature-for-$super_secret_customer_project" (or 
some other stupid branch names [2] - which it at least a bit funny if you know 
german...), which poses a risk of actually leaking information I do not want to 
be leaked.

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?

Maybe this is just stupid-me, but I think other people might also benefit from 
this feature.

Cheers and again: thanks for your work
Johannes


[1] https://b4.docs.kernel.org/en/latest/contributor/prep.html
[2] 
https://lore.kernel.org/lkml/20230516-lustige-usb-phy-dinge-v2-1-3383a0de34ac@pengutronix.de/T/

-- 
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    |

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-05  7:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-06-05  7:32       ` Johannes Zink

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.