This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/ed25519" | |
"crypto/x509" | |
"encoding/base64" | |
"encoding/pem" | |
"flag" | |
"fmt" | |
"io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![allow(unused_imports)] | |
#![allow(non_snake_case)] | |
#[macro_use] extern crate log; | |
extern crate simple_logger; | |
extern crate xml; | |
extern crate yaserde; | |
#[macro_use] extern crate yaserde_derive; | |
use std::{io::BufReader, fs::File, fs::read_to_string, io::Read, io::Write}; |