
13 Nov
2020
13 Nov
'20
11:37 a.m.
Will that add nil to the array?
this is a bug, style as below will fix it if mail_content.part[1].filename == 'id_rsa.pub'
It's not necessarily named id_rsa.pub
I will just check if the email file has a attachment. and use attachment[0] as the pub_key file. Thanks, Luan Shengde
my_info['my_ssh_pubkey'] << mail_content.part[1].body.decoded end
Thanks, Luan Shengde
Thanks, Fengguang