[PD1] crypto changes and TLS almost done
This commit is contained in:
parent
2c4f1fd2fc
commit
5ae7358a0d
13 changed files with 138 additions and 87 deletions
|
@ -14,11 +14,8 @@ func readMessageContent() string {
|
|||
return scanner.Text()
|
||||
}
|
||||
|
||||
//FIX: Why is this function in the client if it's called by crypto?
|
||||
// It should be called by the client and the result
|
||||
// should then be passed into the crypto library
|
||||
func AskUserPassword() string {
|
||||
fmt.Println("Enter message content (limited to 1000 bytes):")
|
||||
fmt.Println("Enter key store password")
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
scanner.Scan()
|
||||
// FIX: make sure this doesnt die
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue