Skip to content
Snippets Groups Projects
Commit 8e4a4129 authored by azul's avatar azul
Browse files

Merge branch 'webapp/design-docs-for-katzenpost' into 'master'

webapp: update identity design doc for katzenpost

See merge request !145
parents 97cabbfb 842b7d14
No related branches found
No related tags found
1 merge request!145webapp: update identity design doc for katzenpost
Pipeline #
......@@ -18,6 +18,9 @@
"cert_fingerprints_by_expiry": {
"map": "function(doc) {\n if (doc.type != 'Identity') {\n return;\n }\n if (typeof doc.cert_fingerprints === \"object\") {\n for (fp in doc.cert_fingerprints) {\n if (doc.cert_fingerprints.hasOwnProperty(fp)) {\n emit(doc.cert_fingerprints[fp], fp);\n }\n }\n }\n}\n"
},
"keys_by_email": {
"map": "function(doc) {\n if (doc.type != 'Identity') {\n return;\n }\n if (typeof doc.keys === \"object\") {\n emit(doc.address, doc.keys);\n }\n}\n"
},
"pgp_key_by_email": {
"map": "function(doc) {\n if (doc.type != 'Identity') {\n return;\n }\n if (typeof doc.keys === \"object\") {\n emit(doc.address, doc.keys[\"pgp\"]);\n }\n}\n"
},
......@@ -30,5 +33,5 @@
"reduce": "_sum"
}
},
"couchrest-hash": "4a774c3f56122b655a314670403b27e2"
"couchrest-hash": "fbc2bd6950424cf7f3fa44ff899615a1"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment