Giter Site home page Giter Site logo

otsgo's Introduction

Hi there ๐Ÿ‘‹

medium Badge Linkedin Badge Stackoverflow Badge

๐Ÿ’ป Site Reliability Engineer @ Zenvia | ๐Ÿ“š Master in Computer Science @ UFRN/Brazil

I've been working with Cloud, DevOps and Software-defined Networking since 2016. I have active participation in several research projects on traditional/SDN networks.

badge badge badge badge badge badge badge badge

otsgo's People

Contributors

dependabot[bot] avatar emdneto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

otsgo's Issues

Support burning secrets with passphrase

I am trying to burn a secret with the CLI but I get a 404 unknown secret (despite the fact that I get the METADATA_KEY from ots get recent.

$ ots burn METADATA_KEY

https://onetimesecret.com/api/v1/private/METADATA_KEY/burn
404 Unknown secret

While going on the WebUI of OneTimeSecret, I saw: "provide the passphrase of the secret"

According to the API Doc:

Burn a secret
POST https://onetimesecret.com/api/v1/private/METADATA_KEY/burn
Burn a secret that has not been read yet.

Query Params
* None

Attributes
* Same as metadata attributes with a status of burned.

Example:
$ curl -X POST -u 'USERNAME:APITOKEN' https://onetimesecret.com/api/v1/private/METADATA_KEY/burn

Thanks!

Doesn't work on Linux CLI

ots --version
panic: Failed to initialize the X11 display, and the clipboard package
will not work properly. Install the following dependency may help:

	apt install -y libx11-dev

If the clipboard package is in an environment without a frame buffer,
such as a cloud server, it may also be necessary to install xvfb:

	apt install -y xvfb

and initialize a virtual frame buffer:

	Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
	export DISPLAY=:99.0

Then this package should be ready to use.


goroutine 1 [running]:
golang.design/x/clipboard.init.0()
	/go/pkg/mod/golang.design/x/[email protected]/clipboard_linux.go:65 +0x49

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.