• [tin] first authorization failed, then pass

    From LucLan@21:1/5 to All on Tue Feb 27 18:26:01 2024
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    Warning shown:

    Authorization failed for user: XXX

    My credentials are stored in ~/.newsauth
    And I start application with: tin -TAag es

    'es' is the shortname from ~/.tin/newsrctable

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Urs =?UTF-8?Q?Jan=C3=9Fen?=@21:1/5 to LucLan on Tue Feb 27 20:01:15 2024
    In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
    LucLan wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    just a guess; you have space in the auth-data? that will fail with
    AUTHINFO PLAIN whihc is tried before AUTHINFO USER e.g.

    [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
    <<< [19:45:26.879224] 481 generic failure
    [19:45:28.881885] AUTHINFO USER john
    <<< [19:45:28.888510] 381 Enter password
    [19:45:28.888733] AUTHINFO PASS doe
    <<< [19:45:28.898705] 281 Authentication succeeded

    to check you could add "-vD 1" the the cmd.line opts _after_
    reading the "SECURITY" section on the man-page; i.e. you might want to
    start tin with $TMPDIR set to a secure location:
    TMPDIR=$HOME tin -vD 1 -TAag es

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Urs =?UTF-8?Q?Jan=C3=9Fen?=@21:1/5 to LucLan on Tue Feb 27 20:02:26 2024
    In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
    LucLan wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    just a guess; you have space in the auth-data? that will fail with
    AUTHINFO PLAIN which is tried before AUTHINFO USER e.g.

    [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
    <<< [19:45:26.879224] 481 generic failure
    [19:45:28.881885] AUTHINFO USER john
    <<< [19:45:28.888510] 381 Enter password
    [19:45:28.888733] AUTHINFO PASS doe
    <<< [19:45:28.898705] 281 Authentication succeeded

    to check you could add "-vD 1" the the cmd.line opts _after_
    reading the "SECURITY" section of the man-page; i.e. you might want to
    start tin with $TMPDIR set to a secure location:
    TMPDIR=$HOME tin -vD 1 -TAag es

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to LucLan on Tue Feb 27 19:55:08 2024
    On 2024-02-27, LucLan <address@is.invalid> wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    Warning shown:

    Authorization failed for user: XXX

    My credentials are stored in ~/.newsauth
    And I start application with: tin -TAag es

    'es' is the shortname from ~/.tin/newsrctable

    Thanks.

    Does it matter too much if it authenticates second try?
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From LucLan@21:1/5 to candycanearter07@candycanearter07.n on Wed Feb 28 07:19:38 2024
    candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> wrote:
    On 2024-02-27, LucLan <address@is.invalid> wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    Warning shown:

    Authorization failed for user: XXX

    My credentials are stored in ~/.newsauth
    And I start application with: tin -TAag es

    'es' is the shortname from ~/.tin/newsrctable

    Thanks.

    Does it matter too much if it authenticates second try?

    Just a little bit.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From LucLan@21:1/5 to urs@buil.tin.org on Wed Feb 28 11:57:20 2024
    Urs Janßen <urs@buil.tin.org> wrote:
    In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
    LucLan wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    just a guess; you have space in the auth-data? that will fail with
    AUTHINFO PLAIN which is tried before AUTHINFO USER e.g.

    [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
    <<< [19:45:26.879224] 481 generic failure
    [19:45:28.881885] AUTHINFO USER john
    <<< [19:45:28.888510] 381 Enter password
    [19:45:28.888733] AUTHINFO PASS doe
    <<< [19:45:28.898705] 281 Authentication succeeded

    to check you could add "-vD 1" the the cmd.line opts _after_
    reading the "SECURITY" section of the man-page; i.e. you might want to
    start tin with $TMPDIR set to a secure location:
    TMPDIR=$HOME tin -vD 1 -TAag es

    Thank you, sir, for your answer.

    I tried to start tin with -vD 1, but:
    Option not enabled. Recompile with -DDEBUG.
    Another bad flag in the AUR package.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From LucLan@21:1/5 to urs@buil.tin.org on Wed Feb 28 14:40:50 2024
    Urs Janßen <urs@buil.tin.org> wrote:
    In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
    LucLan wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    just a guess; you have space in the auth-data? that will fail with
    AUTHINFO PLAIN which is tried before AUTHINFO USER e.g.

    [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
    <<< [19:45:26.879224] 481 generic failure
    [19:45:28.881885] AUTHINFO USER john
    <<< [19:45:28.888510] 381 Enter password
    [19:45:28.888733] AUTHINFO PASS doe
    <<< [19:45:28.898705] 281 Authentication succeeded

    to check you could add "-vD 1" the the cmd.line opts _after_
    reading the "SECURITY" section of the man-page; i.e. you might want to
    start tin with $TMPDIR set to a secure location:
    TMPDIR=$HOME tin -vD 1 -TAag es

    you are right:

    [14:31:41.360913] AUTHINFO SASL PLAIN xxx
    <<< [14:31:41.401144] 481 user not found
    [14:31:43.403122] AUTHINFO USER xxx
    <<< [14:31:43.445158] 381 Enter password
    [14:31:43.445373] AUTHINFO PASS xxx
    <<< [14:31:44.065638] 281 Authentication succeeded

    Thank again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to LucLan on Wed Feb 28 18:25:08 2024
    LucLan <address@is.invalid> wrote at 07:19 this Wednesday (GMT):
    candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> wrote:
    On 2024-02-27, LucLan <address@is.invalid> wrote:
    Hello,

    DO anyone know why the first authorization failed, then it pass?

    Warning shown:

    Authorization failed for user: XXX

    My credentials are stored in ~/.newsauth
    And I start application with: tin -TAag es

    'es' is the shortname from ~/.tin/newsrctable

    Thanks.

    Does it matter too much if it authenticates second try?

    Just a little bit.

    fair
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)