CryptoPassphrase  Check-in [03ad721972]

Overview
Comment:Replace confusable letters by special characters
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 03ad7219724efa4a8363343574e87e43e4764655a02c85741420101b627e2f0b
User & Date: js on 2016-10-10 21:36:30
Other Links: manifest | tags
Context
2017-01-08
01:53
Update Xcode project to Xcode 8.2 check-in: 7bce58e62b user: js tags: trunk
2016-10-10
21:36
Replace confusable letters by special characters check-in: 03ad721972 user: js tags: trunk
2016-10-09
22:32
[iOS] Show activity indicator during generation check-in: 9b9a2973bb user: js tags: trunk
Changes

Modified NewPasswordGenerator.m from [2fa12794b0] to [aa78dcefa0].

55
56
57
58
59
60
61
62
63
64
65




66
67
55
56
57
58
59
60
61




62
63
64
65
66
67







-
-
-
-
+
+
+
+



	of_scrypt(8, 524288, 2, [siteHash digest],
	    [[siteHash class] digestSize], _passphrase, strlen(_passphrase),
	    _output, _length);

	for (size_t i = 0; i < _length; i++)
		_output[i] =
		    "0123456789"
		    "abcdefghijklmnopqrstuvwxyz"
		    "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
		    ".!"[_output[i] & 0x3F];
		    "123456789"
		    "abcdefghijkmnopqrstuvwxyz"
		    "ABCDEFGHJKLMNPQRSTUVWXYZ"
		    "#$%-=?"[_output[i] & 0x3F];
}
@end

Modified iOS/ShowDetailsController.m from [ff4cbf141f] to [6cf3c3448e].

124
125
126
127
128
129
130
131


132
133
134
135
136
137
138
124
125
126
127
128
129
130

131
132
133
134
135
136
137
138
139







-
+
+







				     message: @"The password has been copied "
					      @"into the clipboard."
			      preferredStyle: UIAlertControllerStyleAlert];
		[alert addAction:
		    [UIAlertAction actionWithTitle: @"OK"
					     style: UIAlertActionStyleDefault
					   handler: ^ (UIAlertAction *action) {
			[self.navigationController popViewControllerAnimated: YES];
			[self.navigationController
			    popViewControllerAnimated: YES];
		}]];

		[self presentViewController: alert
				   animated: YES
				 completion: nil];
	}];
}