Code Monkey home page Code Monkey logo

signtextjs's Introduction

deprecated

signtextjs's People

Contributors

dab18 avatar julien2512 avatar mozkeeler avatar vbadev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

signtextjs's Issues

Firefox Quantum

Hi There,

Any plans to port this to Quantum?
Not sure whether it's possible at all, but add-on is now marked as "legacy" and not working on Quantum (Firefox 57 and above).

Get stronger hash alg

I need something like
SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION
but the original API seems not to let us choose the hash alg.

Master password showing in cleartext in password field

Using FF34.0.5 on Linux with legacy crypto disabled via about config.
The xpi with SignTextJS 0.5 from the git repo is working for me even with a certificate/private key living in a PKCS#11 usb crypto token.

But the master password - when entered - is shown in cleartext.

Add-on not working on Firefox 35 (after automatic update).

Using signTextJS 0.5 from Dec 17 2014, Firefox 35.0

After Firefox (Portable) got updated automatically, the add-on stopped working.

The add-on is shown as active in the Add-ons Manager, but when I try to sign anything, i get the same message as when the add-on was non-existent (i.e., "your browser does not support...."). The e-signature works OK, because just before trying to sign, I logged in with the e-signature (so I'm waving off problems with the hardware).

Any idea what to try here?

Thanks,
D.

signTextJS not working with Firefox 50.0beta10

Hello,
SignTextJS 0.7.4 is not working with Firefox 50.0beta. It gives TypeError: cert.getUsagesString is not a function main.js:306:5. Line 306:5 is cert.getUsagesString(true, {}, usages); // true for local-only verification.

lack of l10n

See #8. It might be possible to grab the strings from previous localized versions of Firefox.

UI issues

After testing, we found thees UI issues (Win7 FF35Beta):

  1. Select with certificate list sizes to the longest cerificate name, so it can be much wider then dialog width and horizontal scrollbar appears.
  2. Font used for dialog labels - Times. It looks ugly, I think Sans Serif is better
  3. Dialog doesn't have any localization

Screenshot attached
Dialog from addon:
sign_addon

Native dialog from FF34
sign_internal

Correctly respond to escape and enter keys.

Pressing escape or enter key do not close certificate chooser dialog.
When focus is on password field, pressing enter cancels the dialog instead of confirming selection.

Doesn't work in Firefox 48 with Electrolysis enabled.

In my Firefox 48 with manually enabled Electrolysis (via browser.tabs.remote.autostart = true) extensions is enabled but doesn't work (window.crypto.signText is undefined). Please keep in mind that this settings will be enabled by default from Firefox 49. Check more info http://arewee10syet.com/

I'm sure that your solution is the last hope to use Firefox for online banking etc. Thanks a lot for your work.

FF38.0.5 window.crypto.signText error

Thanks for the add-on. Anywhere I can test the add-on? I have tried to build mine, but on window.crypto.signText it returns error - error:internalError. I am using USB token.

function signTextForm() {
var ss = window.crypto.signText(document.test.signText.value,"ask");
alert(ss);
return true;
}

Certificate enumeration problem

In signTextJS v. 0.6 certificate list gets filled incorrectly, loosing some certificates in process.
Non-unique field 'nickname' is being used as certificate array key (see main.js, lines 243-247).
If two certificates were issued for some subject by one issuer, their 'cert.nickname' values could be identical.
Hence, adding new array element replaces an existing element.
By the same reason the certificate's serial number should be added to the value in the drop-down list.
Invalid (expired or not valid yet) certificates should be marked in list as 'EXIPRED'.

I do not know how to do it right. Unique field 'cert.sha1Fingerprint' better as an array key,
but CERT_FindUserCertByUsage require "nickname" to find cert.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=403910
(CERT_FindUserCertByUsage() returns wrong certificate if multiple certs with same subject available)

closing the certChooser window returns signature

win2012r2 fb35
if you close the certChooser window by clicking on the upper right X
then the signText will return the signature (as if OK was pressed)
expected result is to return "error:userCancel" (as if CANCEL was pressed)

wrong password should be detected and user asked to try again

With firefox 37 I see that if I type the wrong password for the password store, then add-on does not give any warning. Just it seems text is not signed properly and the site requesting signature throws an error. It would be less confusing if upon wrong password, the user is asked to try again.

Thanks for the plug-in. It saves the day.

handle certificates with empty nicknames better

Apparently there are cases where a certificate will have an empty nickname, which is bad from a usability standpoint. Maybe the serial number or common name or something could be used instead.

UI issue on MacOSX

There is UI issue when running extension in FireFox 35.0.1 on MacOSX 10.10.2
Certificate selection dialog looks transparent and doesn't have a border
screenshot attached
crypto_extension_firefox_macos

Master Password keeps asking even when you score!

With Firefox 44.0.2 (Windows or Linux) I'm having the same problem it doesn't mind if I have a Master Password or as if I don't have one, it keeps me asking again after an error signing.

It's a cool job the addon, but in this moment I'm starting to think about tweaking the code to try it without this confirmation...

Default Enter action is cancel which differs from the previous behaviour

Hi,
Than you very much for this plug-in. It is life saving for those of use actively using certificates.

I have one small issue. I've lost several hour to figure out why sometimes one of my certificates worked and sometimes it didn't. I finally figure out that I have a habit in the sing dialog to enter my pin and hit enter. It seams that this by default means Cancel button where I'm used to mean OK.
In the rare cases where my certificate worked I've clicked on OK with the mouse, which is somewhat annoying since I use the keyboard for speed.

Thanks in advance

can not make it work

i've installed FF35.0; then this addon from
https://addons.mozilla.org/en-US/firefox/addon/signtextjs/
but now in console i see that window.crypro.signText is undefined
and that window.crypto.signText is not a function...

also in BROWSER CONSOLE there is a record:
1418492568629 addons.xpi ERROR Failed to load bootstrap addon jid1-AXn9cXcB4fD1QQ@jetpack from C:\Users\xxx\AppData\Roaming\Mozilla\Firefox\Profiles\hzuw52pa.default\extensions\[email protected]: [Exception... "Unexpected error in XPConnect" nsresult: "0x80570008 (NS_ERROR_XPC_UNEXPECTED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: XPI_loadBootstrapScope :: line 4307" data: no] Stack trace: XPI_loadBootstrapScope()@resource://gre/modules/addons/XPIProvider.jsm:4307 < XPI_callBootstrapMethod()@resource://gre/modules/addons/XPIProvider.jsm:4408 < XPI_startup()@resource://gre/modules/addons/XPIProvider.jsm:2159 < callProvider()@resource://gre/modules/AddonManager.jsm:208 < _startProvider()@resource://gre/modules/AddonManager.jsm:667 < AMI_startup()@resource://gre/modules/AddonManager.jsm:824 < AMP_startup()@resource://gre/modules/AddonManager.jsm:2402 < AMC_observe()@resource://gre/components/addonManager.js:55 < file:unknown Log.jsm:749

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.