#4689 ipa otptoken* help outputs doesn't provide much information
Closed: Fixed None Opened 9 years ago by ctria.

Most of the options won't include much information to understand what the set.

From otptoken-add/otptoken-mod:

  --desc=STR            Description
  --owner=STR           Owner
  --vendor=STR          Vendor
  --model=STR           Model
  --serial=STR          Serial
  --key                 Key
  --algo=['sha1', 'sha256', 'sha384', 'sha512']
                        Algorithm
  --digits=['6', '8']   Digits
  --offset=INT          Clock offset
  --interval=INT        Clock interval
  --counter=INT         Counter

I'd prefer to see something like:

  --desc=STR            A description for the token (doesn't affect the operation of the token)
  --owner=STR           Maps the owner of the token
  --vendor=STR          Vendor name (doesn't affect the operation of the token)
  --model=STR           Model (doesn't affect the operation of the token)
  --serial=STR          Serial (doesn't affect the operation of the token)
  --key                 Prompts to set manually set's the token key in base32 format.
  --algo=['sha1', 'sha256', 'sha384', 'sha512']
                        Sets the hashing algorithm that will be used
  --digits=['6', '8']   Sets how many digits will each tokencode have
  --offset=INT          Sets the time offset between the X and Y
  --interval=INT        Sets the interval on which the tokencode will change
  --counter=INT         Sets the counter of tokencode

Fix description formatting.

master:

  • 93ff9ec Improve otptoken help messages

ipa-4-1:

  • 444ae28 Improve otptoken help messages

Metadata Update from @ctria:
- Issue assigned to npmccallum
- Issue set to the milestone: FreeIPA 4.1.2

7 years ago

Login to comment on this ticket.

Metadata