[perkeep] Publish Perkeep Image Hash?

61 views
Skip to first unread message

clive.boulton

unread,
Oct 8, 2018, 6:30:08 PM10/8/18
to Perkeep
Does anyone know if it's currently possible to share a Perkeep image hash?

https://5799ba50.camlistore.net/ui/sha224-87ea51bdf42af8aa0200915e023b62d5c78bb60c5cfd3f2f5f3a2553

Not seeing what I am looking for in publishing doc
 
Requirement is to publish the perkeep image hash to a blockchain on another server for verification. 

Thanks

Mathieu Lonjaret

unread,
Oct 8, 2018, 7:17:07 PM10/8/18
to per...@googlegroups.com
On Tue, 9 Oct 2018 at 00:30, clive.boulton <clive....@gmail.com> wrote:
>
> Does anyone know if it's currently possible to share a Perkeep image hash?

I'm not sure what you're asking. Is it about a docker image of Perkeep?

> https://5799ba50.camlistore.net/ui/sha224-87ea51bdf42af8aa0200915e023b62d5c78bb60c5cfd3f2f5f3a2553

I think you meant to share a shared blob, but this isn't the link to
one. this link requires authentication.

> Not seeing what I am looking for in publishing doc
> https://perkeep.org/doc/publishing/README
>
> Requirement is to publish the perkeep image hash to a blockchain on another server for verification.

the publisher is usually for files. So if what you want to share isn't
in a file, the publisher probably isn't the right way to do it.

> You received this message because you are subscribed to the Google Groups "Perkeep" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to perkeep+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

clive.boulton

unread,
Oct 8, 2018, 8:17:06 PM10/8/18
to Perkeep
I am looking to share the sha224 hash string perkeep assigns after storing and hashing an original image. Is there any user doc with an end-to-end example on how to share blobs?

Simon B.

unread,
Oct 9, 2018, 2:03:26 AM10/9/18
to per...@googlegroups.com
if you want to "notarize" a hash of some data, maybe just predefine a string representation, say "CliveBoultonCoin source hash of file "mySpecialFiles.zip" is sha2-256:Qmhsu4jdb3idntjeh4hebdk3nckf9blahblahblahblah"
and make sure your storage period requirements are low enough or else use more bits or more quantum/cryotocurrency proof hashing. Especially don't use double sha256 to notarize anything important.

You can notarize strings for free on bitcoin using Todd's project.


Likely you don't want a private perkeep instance, unless it's very well federated/duplicated between a circle of dependants, who might catch CryptoLocker all at once. Or you care only about correctness, but not about potential loss?

If you want to long term store data, if it updates frequently / needs crypto coin integration maybe rather evaluate IPFS.
Mostly relevant example:

Mathieu Lonjaret

unread,
Oct 9, 2018, 8:33:54 AM10/9/18
to per...@googlegroups.com
In Perkeep parlance, you can share a blob through 2 (equivalent) mechanisms:

-select it in the web UI, click on "share" in the sidebar
-pk-put share <hash of the blob>
> --

clive.boulton

unread,
Oct 9, 2018, 12:03:16 PM10/9/18
to Perkeep
-select it in the web UI, click on "share" in the sidebar - 

Using launcher/perkeep. I cannot find "share" to click on?  

Mathieu Lonjaret

unread,
Oct 9, 2018, 12:20:17 PM10/9/18
to per...@googlegroups.com

clive.boulton

unread,
Oct 9, 2018, 2:03:20 PM10/9/18
to Perkeep
Correct. I have this side menu w/o 'share'.

Mathieu Lonjaret

unread,
Oct 9, 2018, 2:05:13 PM10/9/18
to per...@googlegroups.com
Weird. What does your "About" from the main piggy menu say?

On Tue, 9 Oct 2018 at 20:03, clive.boulton <clive....@gmail.com> wrote:
>
> Correct. I have this side menu w/o 'share'.
>

clive.boulton

unread,
Oct 9, 2018, 2:29:43 PM10/9/18
to Perkeep
Attached about and side menu after selecting blob.  
Screen Shot 2018-10-09 at 11.24.12 AM.png
Screen Shot 2018-10-09 at 11.22.45 AM.png

Mathieu Lonjaret

unread,
Oct 9, 2018, 2:43:45 PM10/9/18
to per...@googlegroups.com
The first image you attached is not of the sidebar menu, it is of the
"main" menu if you will.
The sidebar menu (or contextual menu) appears on the right, when you
tick the mark on the top-left corner of an item.

As for your Camlistore/Perkeep version, I'm puzzled as I don't find it
in the git history. What version do you see on the "Server Status"
page (located at /status/)?

clive.boulton

unread,
Oct 9, 2018, 3:03:41 PM10/9/18
to Perkeep
Attached server status and correct side menu.
perkeepd status.txt
Screen Shot 2018-10-09 at 12.02.13 PM.png

clive.boulton

unread,
Oct 9, 2018, 3:11:35 PM10/9/18
to Perkeep
The side menu instantiated. I can't explain how exactly.

clive.boulton

unread,
Oct 9, 2018, 3:19:59 PM10/9/18
to Perkeep
For cli we tried this python library but it is 5 years old - https://github.com/apparentlymart/python-camlistore
Is there another library for -pk-put share <hash of the blob> 

Mathieu Lonjaret

unread,
Oct 9, 2018, 6:43:56 PM10/9/18
to per...@googlegroups.com
The command-line tools, including pk-put, are part of the project. So
you can either build them from source, or get them as part of the
downloads archives at: https://perkeep.org/doc/release/0.10
Reply all
Reply to author
Forward
0 new messages