Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for PrivateBin #2067

Open
twiddern opened this issue Nov 10, 2016 · 15 comments
Open

Support for PrivateBin #2067

twiddern opened this issue Nov 10, 2016 · 15 comments

Comments

@twiddern
Copy link

Hi,

It would be cool to see support for an PrivateBin environment.
Doc: https://github.com/PrivateBin/PrivateBin/wiki/API

@YuriyZaletskyy
Copy link

Can you describe a bit more? you need all api used alltogether?

@ajvsol
Copy link

ajvsol commented Jan 9, 2017

Creating a new paste and adding the picture/video as an attachment would be awesome.

Here's a public instance that has the file attachment feature.

@Scrxtchy
Copy link
Contributor

Scrxtchy commented Jan 9, 2017

You'd need something to create the correct encryption
here's two data objects from request parameters

{"iv":"jV49wtfQSvEu57eRMEsRAQ==","v":1,"iter":1000,"ks":256,"ts":128,"mode":"gcm","adata":"","cipher":"aes","salt":"csEc6wm6cCE=","ct":"5Oc9E5FfpHh8PQ1Utd1F1dek3p6RWczj+Y8+B3WHxdeLYonaDPojEA=="}
{"iv":"MpFZRBcPmosU3zA+a37zeg==","v":1,"iter":1000,"ks":256,"ts":128,"mode":"gcm","adata":"","cipher":"aes","salt":"F3+MJw+wq/s=","ct":"MvcQo4doo6BtclXvXygqgoPMHnYuxHjK9Z2v3PlBAJd7J4ewXsR8WA=="}

as you can see, the iv and ct keys both have values in base64, as well as a salt, all of which are seemingly random.
The ct is based from the content of the paste/file/filename
Uploading a file shouldn't be too hard as it's just two more json objects to put into the POST request, they both follow the same structure as our data object

@jingofett
Copy link

I would love just the text upload, if possible

@rojnwa
Copy link

rojnwa commented Mar 21, 2020

Any updates on this? Would love to be able to use PrivateBin with ShareX

@ghost
Copy link

ghost commented Mar 30, 2020

Yes privatebin.net for sharex would be nice or even one of the alternatives
https://github.com/PrivateBin/PrivateBin/wiki/PrivateBin-Instances-Directory

@Jaex
Copy link
Member

Jaex commented Mar 30, 2020

Any updates on this? Would love to be able to use PrivateBin with ShareX

I wanted to implement PrivateBin but implementing client side encrypted uploaders not easy and I don't have enough knowledge about these stuffs. So I can't add it to ShareX.

@Kos9078
Copy link

Kos9078 commented Aug 15, 2020

Yesterday I implemented PrivateBin integration in current version of master branch. Now I'm working on settings window for it...
But instead of GCM I used CBC. Because .NET Framework stil doesen't support GCM.

@Fooughhy
Copy link

Fooughhy commented Aug 7, 2022

I know this is an old thread, but PrivateBin still isn't implemented in ShareX, right?

@neldonado
Copy link

Any chance support for privatebin will be added?

@alexdelprete
Copy link

@Jaex has PR #6524 been merged or there were issues with it?

@AdamB2023
Copy link

I would also appreciate PrivateBin implementation.

@Benno1308
Copy link

Push

@jpotter23
Copy link

Another vote for PrivateBin support

@JasonSanDiego
Copy link

@Jaex PR #6524 was closed by the stale bot. I assume at this point you would want it to be reviewed and re-tested before merging. I've never compiled ShareX before, but I'm willing to spend the time to figure it out and validate the code if you're open to merging it. I won't do that work if you're really not interested in merging it regardless (which would be disappointing IMO but totally your choice as the maintainer).

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests