Den lör 20 aug. 2022 kl 14:31 skrev Olaf van der Spek <olafvds...@gmail.com
>:

> Op za 20 aug. 2022 om 14:27 schreef Olaf van der Spek <
> olafvds...@gmail.com>:
> >
> > Op za 20 aug. 2022 om 12:39 schreef Daniel Sahlberg
> > <daniel.l.sahlb...@gmail.com>:
> > >
> > > Den lör 20 aug. 2022 kl 12:20 skrev Olaf van der Spek <
> olafvds...@gmail.com>:
> > > Check the available authentication credential caches:
> > > [[[
> > > $ svn --version
> > > [...]
> > > The following authentication credential caches are available:
> > >
> > > * Plaintext cache in /home/daniel/.subversion
> > > * Gnome Keyring
> > > * GPG-Agent
> > > * KWallet (KDE)
> > > ]]]
> > >
> > > If you are missing the Plaintext cache then your distribution compiled
> Subversion without the support for storing passwords in the plaintext
> cache. (The compile-time option changed in Subversion 1.12 to disable the
> plaintext cache unless explicitly enabled).
> >
> > Right, thanks!
> > Does it really have to be this hard to store passwords? ;)
> >
> > I'm running a local svnserve, is there a better way to handle this?
> >
> > I'll also give the script a try.
>
> Hmm:
> Traceback (most recent call last):
>   File "store-plaintext-password.py", line 192, in <module>
>     main()
>   File "store-plaintext-password.py", line 188, in main
>     writeHashFile(authfileName, hash)
>   File "store-plaintext-password.py", line 128, in writeHashFile
>     outputHash(fd, dict)
>   File "store-plaintext-password.py", line 113, in outputHash
>     for key, val in dict.items():
> TypeError: unbound method dict.items() needs an argument
>

There was a variable called "dict" in early iterations of the script but it
was renamed "hash" at one point but not everywhere. I hadn't tested the
script properly after the change. My bad, sorry!

Can you re-download the script and try again?

Kind regards,
Daniel

Reply via email to