--
You received this message because you are subscribed to the Google Groups "Learning Registry Developers List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to learningreg-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
gpgbin, and the publicKeyLocations.Just now. i created a new key, deployed the public key to one of our servers instead of https://keyserver2.pgp.com/ just to be sure, then ran your script and JSON, changing only the identities of course, so i could search for them and same thing happened
The script I'm using to create these documents is your exact exact script, The only thing i had to change was the location ofgpgbin, and the publicKeyLocations.Just now. i created a new key, deployed the public key to one of our servers instead of https://keyserver2.pgp.com/ just to be sure, then ran your script and JSON, changing only the identities of course, so i could search for them and same thing happened
I didn't even realize that the issue might be the signing of it. I just assumed that if the signature wasn't correct it would throw an error on publishing. I created my key via cygwin using
gpg (GnuPG) 1.4.13
for the new key I created and tried the script out for
using list keys it shows
pub 2048R/4425F43C 2013-05-16
uid Dave Finke <whirly...@gmail.com>
sub 2048R/B1B56EA0 2013-05-16
public key hosted at
http://ns.nsdldev.org/configs/harvest_ingest/public-key.txt
Using your LRSignature module version 0.1.12
I can send the the private key if you think it will help, these are our testing keys and will never be used outside of sandbox.
If you think its something with using cygwin I can try to deploy our code out to a unix box and try it out there, ecpecially if no one else is having these issues maybe something is wrong with the system I'm running it on.
After playing around with this for awhile. I finally got update and delete to work on sandbox, just wanted to post what I had to do to make it work for others
I ended up having to use http://pool.sks-keyservers.net as the key server to serve my public key. Serving it using https://keyserver2.pgp.com just wasn't working. Its hard to tell what was wrong since it seems like sandbox accepts all documents regardless what the public key URL is. It only matters when you try to delete or update.
Also
Jim
Update works perfectly.
Delete, tombstones the old documents correctly but then creates a new document that is blank and contains the replaces. This happens using your test_delete script as well as our code, Its not a huge deal because I just check for "payload_placement": "none", The only way to cheat it is if you leave the original doc_id in there when you submit the delete. This tombstones the original document then causes a couchdb error when it tries to create the blank new document. Thus not creating one.
Dave - NSDL