GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.54k stars 473 forks source link

"UserWarning" in final step of "gam create project" #1711

Closed jle-pass closed 1 month ago

jle-pass commented 1 month ago

GAM 7.00.16

gam create project

... Project: , Service Account: , Extracting public certificate init.py:12382: UserWarning: Attribute's length must be >= 1 and <= 64, but it was 70 init.py:12383: UserWarning: Attribute's length must be >= 1 and <= 64, but it was 70 Project: , Service Account: , Done generating private key and public certificate ...

jay0lee commented 1 month ago

@taers232c we should be OK reducing the project name. I'd keep the gam-project- prefix in case anyone is using a regex to identify GAM projects but reduce the # of random characters we append at the end.

taers232c commented 1 month ago

To avoid the error we need: gam-project-abcde

That's still 36^5 possible values.

Ross

Ross Scroggs @.***

On Oct 11, 2024, at 9:36 AM, Jay Lee @.***> wrote:

@taers232c https://github.com/taers232c we should be OK reducing the project name. I'd keep the gam-project- prefix in case anyone is using a regex to identify GAM projects but reduce the # of random characters we append at the end.

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1711#issuecomment-2407764742, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL45SJVE34AWSMQW5Z3Z275BXAVCNFSM6AAAAABPYYZ5FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXG43DINZUGI. You are receiving this because you were mentioned.

taers232c commented 1 month ago

Fixed in 7.00.18.