Diaspora encloses magic envelope in <atom:entry>??!!?!
这个提交包含在:
父节点
ec19661312
当前提交
3902dc963a
@ -108,6 +108,9 @@ class DiasporaPlugin extends Plugin
|
||||
* Constructing the encryption header
|
||||
*/
|
||||
|
||||
// For some reason it's supposed to be inside an <atom:entry>
|
||||
$xs->elementStart('entry', array('xmlns'=>'http://www.w3.org/2005/Atom'));
|
||||
|
||||
/**
|
||||
* Choose an AES key and initialization vector, suitable for the
|
||||
* aes-256-cbc cipher. I shall refer to this as the “inner key”
|
||||
@ -214,6 +217,8 @@ class DiasporaPlugin extends Plugin
|
||||
$xs->element('me:sig', null, $magic_env->getSignature());
|
||||
$xs->elementEnd('me:env');
|
||||
|
||||
$xs->elementEnd('entry');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户