Re: portable WoT IDs recoverable with a random password, implemented in pyFreenet

Florent Daigniere <[email protected]>
Newsgroups gmane.network.freenet.devel
Message-ID <[email protected]>
On Thu, 2016-12-22 at 11:22 +0100, Arne Babenhauserheide wrote:
> > >   Is it somehow possible to decrypt parts of
> > > the store at random in the hope of hitting a random uploaded
> > > private
> > > key
> > > (a variant of the birthday attack against the password which would
> > > avoid
> > > having to query the network for each check)?
> > > 
> > 
> > Of course it is. Your scheme is completely broken; at the very least
> > the
> > "passphrase" should be salted, hashed and iterated... and yes, that
> > means getting the user to remember the salt too.
> 
> The passphrase must be as strong as would be needed for passphrase
> plus salt.
> 
> For hashing and iterating: Is that of practical utility when I’m
> sticking the password into a KSK in the end? Isn’t the cost of
> attacking
> the KSK much higher than the cost of hashing and iterating?
> 
> (this is my core question here: what’s the cost of attacking a
> randomly generated KSK?)

The answer is in src/freenet/keys/ClientKSK.java

It's designed to be fast, not secure... so unless you iterate it, I
think that it is madness.

Florent

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE27dzODvDSclSA+2R6sXr8HqpwqMFAlhbs3UACgkQ6sXr8Hqp
wqN/vQgAhRJC1jCzMSZDg0IftWBQhPT4yifwfdc6iDj+GhLc4ePzCA8dsW74meG/
y+q6sx6CrTI2zFoxjYVsdPjaQma3s2ztz5jCEsrWB8S/uIMJgC7kcgLk8N3ON6A5
1w8F1fFhSv2/PFsdqtH9fryedlpcCaXmaXvlVDgEA9M4pceX3GO93VdQ1fSPFQ1P
cOwbG+bhcnzsI1esMO69kauTnHlalW/8M38FRTx2NHm2S53pznkpVCAeB6fNuag8
a2YIkwc6bTAsIaUI256QMz6lwb3au1vUgjgXVwGSBZeZ/+SAtb5EoZ/FcKQYMpqU
jdLIfKm0xHSoqyWHc06dcPXrI0OUlA==
=BQug
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.