-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasks
More file actions
60 lines (39 loc) · 2.05 KB
/
tasks
File metadata and controls
60 lines (39 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
done
// CU -> File file = new File("D:\\projects\\passmanager\\"+user+".pm"); // store user data in txt with user name in folder with username
// DM -> // builder data model when create user
//LI -> //TODO in login verify the data and compare it with input
// LI -> dataModel = new ModelBuilder().site(site).email(email).userName(user).logname(userProfileData.get("LogName")).logpass(userProfileData.get("LogPass")).build();
// LI -> //TODO remove the past site file - copying data(user and mail) and change pass and site name
// LI -> read profile - log user
// LI -> // personal profile map - make other map for site
// LI -> // add site - search site - modify site - remove site menu (switch case)
// LI -> // can't read if the log pass wrong
// CU -> //TODO all main info in logfile , password for sites in a site name file//TODO all main info in logfile , password for sites in a site name file
// String pass = PassGenerator.generator(site,user,email,date);
// System.out.println(pass);
//TODO add main data for login - other files for sites
// File file = new File(path+"\\"+dataModel.getUserName()+".pm"); // add passwords to it
//TODO check for sites
LI ->
// +"\\"+dataModel.getLogname()+".pm"
// delete folder
decry -> int length = part1.length() + part2.length();
// for (int i = 0; i < length/2; i++) {
// ctxt += part1.charAt(i);
// }
// for (int i = length-1 ; i >= length/2; i--) {
// ctxt += part2.charAt(i);
// }
if (Paths.get(arg0))
File.separator
CU -> // check if file exist
// if user exist > return false;
if(log.exists())
return;
//TODO save generated pass in files inside the user folder , encrypted , with some details , could read directly throw the app (decrypted)
LI ->
// String path = "D:\\projects\\passmanager\\"+dataModel.getLogname();
// File file = new File(path + "\\" + dataModel.getLogname() + ".pm");
// CreateUser.writeOperation(dataModel); // map store | remove final and make setter & encryption
// change to normal method that call it in the main app
main - > // TODO switch to create or login