Skip to content

Instantly share code, notes, and snippets.

View mlevkov's full-sized avatar

Maxim Levkov mlevkov

View GitHub Profile
mlevkov / signedrequests_modified.go
Created June 4, 2022 07:27
Google Media CDN Signed URLs key helper with PEM converter
package main
import (
#[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};