patchwork
patchwork copied to clipboard
Fix: skip logging API keys in debug mode
Fixes issue #946
Instead of skipping such inputs can we just replace them with *s may be.
Done !
It could be beneficial to treat this like credit card numbers.
Show some part, but mask most. Providing it's long enough to justify doing so without leaking anything usable.
This is a good idea, how about we show the first 4 and last 4 characters as long as the key is >= 24 characters. if it is less than 24 characters we mask with all stars. @Aswinr24
Any more changes you suggest?
Is it okay to merge @CTY-git ?
LGTM