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

JWT script improvements #740

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open

JWT script improvements #740

wants to merge 3 commits into from

Conversation

benbart
Copy link
Contributor

@benbart benbart commented Aug 10, 2023

No description provided.

benbart added 2 commits August 9, 2023 17:45
This makes keygen omit the hostname and use the provided comment instead.
@@ -14,7 +14,7 @@ EOL

function GENERATE_TEA_CREDS {
cd /tmp || exit 1
ssh-keygen -t rsa -b 4096 -m PEM -f ./jwtcookie.key -N ''
ssh-keygen -t rsa -b 4096 -m PEM -f ./jwtcookie.key -N '' -C "asfjwt"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about writing a complete sentence like 'A key used by Thin Egress App to sign JWTs'. I'm not sure we want to put ASF in there since this may be used by other DAACs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree about putting the ASF in there.

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

Successfully merging this pull request may close these issues.

3 participants