google/glome

PAM module arguments naming is inconsistent with the config

Closed this issue · 2 comments

l9i commented

It would be great if PAM module arguments naming was consistent with the config (and flags in the future once glome-login suports long flags).

Examples of inconsistency:

  • service_key (PAM) vs key (config)
  • service_key_version (PAM) vs key-version (config)
  • url_prefix (PAM) vs url-prefix (config)

Personally, I like the config naming better. It's shorter and uses dashes instead of underscores.

pkern commented

I think underscores are also more consistent with other PAM modules, so I'm fine with this. We do have a way to specify a config file as well, right?

Yes, config_path can be used to specify the config file.