forked from security/hakurei
cmd/hakurei: short identifier from lower half
The upper half is now a nanosecond timestamp. Lower half is still random bytes, so use lower half for short identifier. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -301,7 +301,7 @@ func buildCommand(ctx context.Context, msg message.Msg, early *earlyHardeningErr
|
||||
|
||||
case 1: // instance
|
||||
name := args[0]
|
||||
config, entry := tryShort(msg, name)
|
||||
config, entry := tryIdentifier(msg, name)
|
||||
if config == nil {
|
||||
config = tryPath(msg, name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user