Skip to content

saxtouri/okpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

okpub

Overview

A minimal python library and CLI for the ~okeanos public key API

Setup

First, install:

$ python setup.py install

Now you need to declare a cloud URL, user TOKEN and a path to the CA certificates bundle. E.g. in a debian environment with bash and the standard ~okeanos deployment:

$ export OKPUB_URL="https://accounts.okeanos.grnet.gr/identity/v2.0"
$ export OKPUB_TOKEN="your token here"
$ export OKPUB_CA_CERTS="/etc/ssl/certs/ca-certificates.crt"

You can provide these values on runtime too (--url, --token, --ca-certs)

Usage

List your public keys:

$ okpub

Get information on a public key with id 1234:

$ okpub --key-id=1234

About

A kamaki-based library to get a users public keys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages