Comments (12)
Oh, good call. I missed that while adding that feature. Will do soon.
from onetimesecret.
Just tried it out - WFM. Thanks.
from onetimesecret.
Is this API enabled on the live site?
Just tried it and i'm getting a 404.
from onetimesecret.
@chelnak Are you trying with the secret key or the private key? It's only works with the private key so that only the person that created the secret can burn it.
from onetimesecret.
from onetimesecret.
That's the one yeah.
from onetimesecret.
@delano Did some more testing this morning. The 404 happens when you try and burn a secret that has a passphrase.
Works fine when burning a secret without one.
from onetimesecret.
@chelnak Ah interesting. Thanks for the details. I need to think on this for a bit to sort what the right approach is for this case.
from onetimesecret.
@delano Thank you for adding Burn API call.
But, I have an issue. Docs say that return values are the same as Get Metadata request, which isn't quite true: you include actual Metadata-request-like data in state field of response, which's.. well, i guess not really predictable.
from onetimesecret.
As you are thinking about this, could you also think about or answer why the result from using the burn
api call results in a non-flat JSON response, as in:
{
"state": {
"custid": "anon",
"metadata_key": "m212lw3mqmfy21t62jeswmi940yvfkz",
"secret_key": "",
"ttl": 604800,
"metadata_ttl": 604800,
"secret_ttl": 604800,
"state": "burned",
"updated": 1493922248,
"created": 1493922227,
"recipient": []
},
"secret_shortkey": "j96kga"
}
from onetimesecret.
Ha, just an oversight on my part. Thanks for the heads up.
from onetimesecret.
It still not works. Any solution?
from onetimesecret.
Related Issues (20)
- Secret URL not secure HOT 4
- docker containers not comming up HOT 4
- Images and icons not showing HOT 3
- Docker Failed on Net New Setup HOT 1
- openssl version and ruby
- configuration
- Docker container does not come up HOT 6
- uninitialized constant RubyToken HOT 1
- Security Concern: Isn't Ruby 2.6 EOL? HOT 5
- Unable to Create New Account HOT 3
- Migration to organization
- Account Activation HOT 5
- How to delete a account?
- Email issues HOT 4
- ERB Syntax error HOT 1
- Instructions way out of date HOT 1
- Bin/ots init RubyToken Error HOT 3
- Critical UX issue for inexperienced users HOT 4
- Prohibited symbol for cursor in "This message is for you:" text field makes users belief the text cannot be selected HOT 2
- cant build the docker image HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onetimesecret.