Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
rename numbits to numBits
Browse files Browse the repository at this point in the history
  • Loading branch information
Waseem826 committed Sep 19, 2018
1 parent 2ae8695 commit c93cda8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CTemplar encrypts and decrypts contents of every email using user's public/priva
```
const options = {
userIds: [{ name: username, email: 'username@ctemplar.com' }],
numbits: 4096,
numBits: 4096,
passphrase: password
};
openpgp.generateKey(options);
Expand Down
4 changes: 2 additions & 2 deletions src/app/store/services/openpgp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class OpenPgpService {
this.userKeys = null;
const options = {
userIds: [{ name: username, email: `${username}@ctemplar.com` }],
numbits: 4096,
numBits: 4096,
passphrase: password
};
this.pgpWorker.postMessage({ options, generateKeys: true });
Expand All @@ -179,7 +179,7 @@ export class OpenPgpService {
this.store.dispatch(new UpdatePGPSshKeys({ isSshInProgress: true, sshKeys: null, draftId }));
const options = {
userIds: [{ name: `${draftId}` }],
numbits: 4096,
numBits: 4096,
passphrase: password
};
this.pgpWorker.postMessage({ options, generateKeys: true, forEmail: true, callerId: draftId });
Expand Down

0 comments on commit c93cda8

Please sign in to comment.