The goal of this document is to describe the desired user experience for the next generation of "sig" and it's predecessor "git-signatures"
These were useful prototypes but significant improvement is needed before widespread use.
local ffi = require "ffi" | |
local S = require "syscall" | |
local c = S.c | |
local t = S.types.t | |
local util = S.util | |
local nr = require "syscall.linux.nr" | |
local lfs = require "syscall.lfs" | |
-- Returns an iterator over open fds | |
local function open_fds(pid) |
local new_fifo = require "fifo" | |
local cqueues = require "cqueues" | |
local cc = require "cqueues.condition" | |
local methods = {} | |
local mt = { | |
__index = methods; | |
} | |
function methods.new(...) | |
local cond = cc.new(); |
gpg --list-trustdb | | |
lua -e 'for line in io.stdin:lines() do | |
local key, level = line:match("^rec%s+%d+, trust (%x+), ot=(%d+)") | |
if key and tonumber(level) == 6 then -- 6 means ultimate trust (and not revoked) | |
print(key) | |
end | |
end' | | |
xargs -n 1 gpg --export-ssh-key |
The goal of this document is to describe the desired user experience for the next generation of "sig" and it's predecessor "git-signatures"
These were useful prototypes but significant improvement is needed before widespread use.