Skip to content

Nonce creation intransparent #72

@dodinh

Description

@dodinh

This is just a question about the nonce:

private String getNonce() {
Date date = new Date(new Date().getTime() * 60);
return String.valueOf(date.getTime());
}

Is there a reason the current timestamp is multiplied by 60? This interferes with the example bash scripts at [1] (and other example scripts on the conftool forums, which by default just use the timestamp) - which is no problem if one knows about it, but can be otherwise quite a pain to find.

[1] https://www.conftool.net/ctforum/index.php/topic,281.0.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions