Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalized passphrases #3

Open
dominikduennebacke opened this issue Jan 19, 2023 · 3 comments
Open

Capitalized passphrases #3

dominikduennebacke opened this issue Jan 19, 2023 · 3 comments

Comments

@dominikduennebacke
Copy link

I would like to capitalize the passphrases to add another layer of security without compromising an easy way to convey the phrases verbally (in person or over the phone). Would it be possible to add a switch -Capitalized?

PS> New-Passphrase -AmountOfWords 4 -Separator "." -Capitalized
Car.Monitor.Phone.Lamp
@lagebj
Copy link
Owner

lagebj commented Jan 20, 2023

@dominikduennebacke , the IncludeUppercase switch is already available, does this cover your needs?

I don't know if you have seen this, but I have tried documenting the module over here: https://passphraser.readthedocs.io/en/latest/howto/#parameters

Let me know if what you think, if you still want something similar to the Capitalize switch, I will look into it when time allows it.

@dominikduennebacke
Copy link
Author

@lagebj: I did notice the IncludeUppercase switch, however this creates uppercase characters randomly.

cAR.moNItor.PHONe.Lamp

I would like to only have the first letter of a phrase capitalized

Car.Monitor.Phone.Lamp

Background is that if a passphrase is provided over the phone I can tell the user: "The first letter for each word I'm going to tell you is uppercase, the rest lowercase" instead of basically spelling each character "lowercase c, uppercase 'A', uppcerase 'R'"

Many thanks for taking the time!

@lagebj
Copy link
Owner

lagebj commented Jan 22, 2023

@dominikduennebacke The IncludeUppercase switch should not create random uppercase characters the way you describe, but rather create capitalized words, like:

> New-Passphrase -IncludeNumbers -IncludeUppercase
classy 4tall CURIOUS

If this is not the case in your environment I need to investigate further. What version of Powershell are you running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants