Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread gene heskett
On Wednesday, 6 April 2022 20:23:41 EDT gene heskett wrote: > On Wednesday, 6 April 2022 16:26:07 EDT Roger Price wrote: > > On Wed, 6 Apr 2022, gene heskett wrote: > > > On Wednesday, 6 April 2022 03:39:19 EDT Roger Price wrote: > > >> Is there a maximum length for a password in NUT? Should I

Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread gene heskett
On Wednesday, 6 April 2022 16:26:07 EDT Roger Price wrote: > On Wed, 6 Apr 2022, gene heskett wrote: > > On Wednesday, 6 April 2022 03:39:19 EDT Roger Price wrote: > >> Is there a maximum length for a password in NUT? Should I specify > >> 15 > >> or 31 characters in the grammmar? > > > > I

Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread Roger Price
On Wed, 6 Apr 2022, gene heskett wrote: On Wednesday, 6 April 2022 03:39:19 EDT Roger Price wrote: Is there a maximum length for a password in NUT? Should I specify 15 or 31 characters in the grammmar? I would be far more concerned with the minimum size, make 'em work to find it if its a

Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread gene heskett
On Wednesday, 6 April 2022 07:28:59 EDT Roger Price wrote: > On Wed, 6 Apr 2022, Jim Klimov wrote: > > Also does not seem dictated in docs nor comments. De-facto it is a > > string pointer, in some code constrained by a SMALLBUF sized > > character array, where SMALLBUF is a macro currently

Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread gene heskett
On Wednesday, 6 April 2022 03:39:19 EDT Roger Price wrote: > Is there a maximum length for a password in NUT? Should I specify 15 > or 31 characters in the grammmar? > > The IETF are wedded to US ASCII, where character = byte, so I will > ignore the question of multibyte characters. > > Roger >

Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread Roger Price
On Wed, 6 Apr 2022, Jim Klimov wrote: Also does not seem dictated in docs nor comments. De-facto it is a string pointer, in some code constrained by a SMALLBUF sized character array, where SMALLBUF is a macro currently defined to 512. I decided to fix arbitrary limits in the grammar based on

Re: [Nut-upsuser] Maximum length of password

2022-04-06 Thread Jim Klimov via Nut-upsuser
Also does not seem dictated in docs nor comments. De-facto it is a string pointer, in some code constrained by a SMALLBUF sized character array, where SMALLBUF is a macro currently defined to 512. Looking on a larger scale, it seems the server-client code currently passes it in the open (safety

[Nut-upsuser] Maximum length of password

2022-04-06 Thread Roger Price
Is there a maximum length for a password in NUT? Should I specify 15 or 31 characters in the grammmar? The IETF are wedded to US ASCII, where character = byte, so I will ignore the question of multibyte characters. Roger ___ Nut-upsuser mailing

Re: [Nut-upsuser] Formal definition of a UPS name

2022-04-06 Thread Roger Price
Thanks for your comments. I think it's best for the formal grammar that I am obliged to write to take a restrictive view of what is permitted, and I will call for a leading letter A-Z or a-z. Roger ___ Nut-upsuser mailing list