creating a new v1 storage system with shared salt and only key in memory #297

Manually merged
sarah merged 1 commits from dan/cwtch:pwv1 into master 2020-01-21 20:06:15 +00:00
Owner

followed design doc

  • new v1 system stores a SALT file, derives and stores in memory key only, not password
  • cut some parts out of v0 as they weren't needed, its just for upgrade and testing
  • upgrade v0 to v1 code
  • minimal updates to the app to use the new system
followed design doc - new v1 system stores a SALT file, derives and stores in memory key only, not password - cut some parts out of v0 as they weren't needed, its just for upgrade and testing - upgrade v0 to v1 code - minimal updates to the app to use the new system
sarah was assigned by dan 2020-01-15 00:08:02 +00:00
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/723
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/722
Author
Owner

added a fix to server/metrics test to make it deterministic and not sleep based cus
https://build.openprivacy.ca/cwtch.im/cwtch/723
random fail

added a fix to server/metrics test to make it deterministic and not sleep based cus https://build.openprivacy.ca/cwtch.im/cwtch/723 random fail
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/724
sarah approved these changes 2020-01-15 17:39:54 +00:00
sarah left a comment
Owner

lgtm

lgtm
@ -93,2 +45,2 @@
eventBus.Publish(event.NewEvent(event.NewGroupInvite, map[event.Field]string{event.TimestampReceived: time.Now().Format(time.RFC3339Nano), event.RemotePeer: ps1.GetProfileCopy(true).Onion, event.GroupInvite: string(invite)}))
time.Sleep(1 * time.Second)
ps1.AddGroup(invite, profile.Onion)
//time.Sleep(1 * time.Second)
Owner

delete

delete
@ -128,2 +52,3 @@
}
time.Sleep(3 * time.Second)
// TODO: Proper wait till done
//time.Sleep(3 * time.Second)
Owner

delete

delete
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/725
sarah closed this pull request 2020-01-21 20:06:15 +00:00
sarah closed this pull request 2020-01-21 20:06:15 +00:00
Sign in to join this conversation.
No description provided.