Is it possible to enter the password before? #21
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When specifying a public key, Kryptor will use your private key for encryption rather than asking for a password. As for your other question, it's not possible to specify a password as part of the command because passwords shouldn't really be stored as strings. Strings are immutable in .NET and cannot be zeroed out, so I decided to store the password in a char array instead. However, you could modify the I hope that's helpful :) |
Beta Was this translation helpful? Give feedback.
When specifying a public key, Kryptor will use your private key for encryption rather than asking for a password. As for your other question, it's not possible to specify a password as part of the command because passwords shouldn't really be stored as strings. Strings are immutable in .NET and cannot be zeroed out, so I decided to store the password in a char array instead.
However, you could modify the
-p|--password
option to haveCommandOptionType.SingleValue
i…