
17 Nov
2020
17 Nov
'20
3:29 p.m.
It's not necessarily named id_rsa.pub
then how can I determine whether the attachment is a pubkey?
/^id_.*\.pub$/ will be good pattern to match.
OK, I will use it Thanks, Luan Shengde
Thanks, Fengguang
my_info['my_ssh_pubkey'] << mail_content.part[1].body.decoded end
Thanks, Luan Shengde
Thanks, Fengguang