CryptoPassphrase  Check-in [7b7392ad32]

Overview
Comment:Adjust to ObjFW changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7b7392ad32b559f18decc788edacbddc89a9b8f7c4b17012a058752dcbe1256a
User & Date: js on 2022-11-15 22:54:44
Other Links: manifest | tags
Context
2023-04-01
17:20
Update iOS app to ObjFW changes check-in: 3eecffa2af user: js tags: trunk
2022-11-15
22:54
Adjust to ObjFW changes check-in: 7b7392ad32 user: js tags: trunk
2022-08-21
11:58
Adjust to ObjFW changes check-in: 82f79a19ab user: js tags: trunk
Changes

Modified CryptoPassphrase.m from [88cb4e5f09] to [909b4ca41c].

43
44
45
46
47
48
49
50

51
52
53
54
55
56
57
43
44
45
46
47
48
49

50
51
52
53
54
55
56
57







-
+







		    @"    -l  --length  Length for the derived password\n"
		    @"    -L  --legacy  Use the legacy algorithm "
		    @"(compatible with scrypt-genpass)\n"
		    @"    -r  --repeat  Repeat input\n"];
}

@implementation CryptoPassphrase
- (void)applicationDidFinishLaunching
- (void)applicationDidFinishLaunching: (OFNotification *)notification
{
	OFString *keyFilePath, *lengthString;
	const OFOptionsParserOption options[] = {
		{ 'h', @"help", 0, NULL, NULL },
		{ 'k', @"keyfile", 1, NULL, &keyFilePath },
		{ 'l', @"length", 1, NULL, &lengthString },
		{ 'L', @"legacy", 0, &_legacy, NULL },