mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 20:42:06 +01:00
Use primary key as signing key
This commit is contained in:
parent
ed3c4236cf
commit
ed31a48a9b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class OpenPgpContact {
|
||||||
OpenPgpFingerprints contactsFingerprints) {
|
OpenPgpFingerprints contactsFingerprints) {
|
||||||
this.cryptoProvider = cryptoProvider;
|
this.cryptoProvider = cryptoProvider;
|
||||||
this.jid = jid;
|
this.jid = jid;
|
||||||
this.singingKey = ourFingerprints.getActiveKeys().iterator().next();
|
this.singingKey = cryptoProvider.getStore().getPrimaryOpenPgpKeyPairFingerprint();
|
||||||
this.ourFingerprints = ourFingerprints;
|
this.ourFingerprints = ourFingerprints;
|
||||||
this.contactsFingerprints = contactsFingerprints;
|
this.contactsFingerprints = contactsFingerprints;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue