~sircmpwn/himitsu-ssh

7215928d6718291f07793493d66c5b0d9908029b — Armin Preiml 3 months ago ec92fd2
hare-ssh changes
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/hissh-import/main.ha
M cmd/hissh-import/main.ha => cmd/hissh-import/main.ha +1 -1
@@ 63,7 63,7 @@ export fn main() void = {

	let buf = memio::dynamic();
	defer io::close(&buf)!;
	fmt::fprintf(&buf, "add proto=ssh type={} pkey='", ssh::keytype(privkey))!;
	fmt::fprintf(&buf, "add proto=ssh type={} pkey='", ssh::key_format(privkey))!;
	let b64 = base64::newencoder(&base64::std_encoding, &buf);
	ssh::key_encoderawpub(privkey, &b64)!;
	io::close(&b64)!;