Skip to content

Question about generating new passwords #2123

Answered by AnomalRoil
xbjfk asked this question in Q&A
Discussion options

You must be logged in to vote

My best guess is that you're trying to generate a password for a domain which is included in our list of domains with fancy rules:

func (s *Action) generatePassword(ctx context.Context, c *cli.Context, length, name string) (string, error) {
if domain, rule := hasPwRuleForSecret(name); domain != "" {
return s.generatePasswordForRule(ctx, c, length, name, domain, rule)
}
symbols := false
if c.IsSet("symbols") {
symbols = c.Bool("symbols")
}

So we match on "hasPwRuleForSecret" before even looking at flags and the rest.

Can you confirm whether the domain is on that list or …

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@xbjfk
Comment options

Comment options

You must be logged in to vote
1 reply
@xbjfk
Comment options

Comment options

You must be logged in to vote
4 replies
@xbjfk
Comment options

@AnomalRoil
Comment options

@dominikschulz
Comment options

@AnomalRoil
Comment options

Answer selected by xbjfk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants