﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
294	make the option of random-key encryption available through the wui and cli	zooko	warner	"For #293 I added a parameter to upload functions to indicate whether we wanted content-hash-key or random-key encryption.  Now I want to add a way for users to control this parameter through the wui and the cli.

For the wui, I want a checkbox next to the ""mutable?"" checkbox, which says ""content hash key?"".  Of course, the question of content-hash-key or random-key applies only to ''immutable'' files -- for mutable files the key is always deterministically derived from the public key and the encrypted salt.

I don't know how to make this wui nice -- either have a checkbox for content-hash-key which dynamically appears whenever you select immutable-file, or else have a radio-button-selector offering mutable file, immutable file content hash key, or immutable file random key.

I hope that a wui wizard will address this issue, but in the meantime, I'm just going to add a separate checkbox with a label like ""for immutable files: content-hash-key Y/N"".

As for the cli, we can add a {{{--content-hash-key=yes/no}}} option, and raise a UsageError if someone passes both {{{--mutable}}} and {{{--content-hash-key}}}."	enhancement	closed	major	1.7.0	code-frontend	0.7.0	duplicate	security usability wui tahoe-put tahoe-cp tahoe-backup		
