[snowpatch] [PATCH] Replace ssh agent authentication with explicit key

Andrew Donnellan andrew.donnellan at au1.ibm.com
Fri Dec 2 11:52:27 AEDT 2016


On 02/12/16 11:28, Andrew Donnellan wrote:
> On 01/12/16 17:04, Andrew Donnellan wrote:
>> diff --git a/src/settings.rs b/src/settings.rs
>> index a4a5614..b440885 100644
>> --- a/src/settings.rs
>> +++ b/src/settings.rs
>> @@ -28,6 +28,14 @@ use std::collections::BTreeMap;
>>  // TODO: Give more informative error messages when we fail to parse.
>>
>>  #[derive(RustcDecodable, Clone)]
>> +pub struct Git {
>> +    pub user: String,
>> +    pub public_key: Option<String>,
>> +    pub private_key: String,
>
> This should probably be Option as well.
>
>> +    pub passphrase: Option<String>
>
> We should probably enforce having either keys or passphrase...

Ah, disregard these comments...
-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the snowpatch mailing list