Syncronize keys with the keyserver
refreshKeysFromServer: function( silent )
Try to register a webpage (ask the user).
register: function ( event )
Change # to #1, : to #2 and , to #3 in a string
removeDoublePoint: function( s )
Delete a file.
removeFile:function ( path )
Get a key from a keyserver
retriveKeyFromServer: function( keyId, silent )
Get a key from a keyserver
retriveKeyFromServer: function( key, server )
Revoke a key (!)
revokeKey: function ( silent, key, raison, password )
Revoke a key (!)
revokeKey: function ( key, password, raison )
Revoke an identity of a key
revokeUid: function ( silent, key, uid, password )
Revoke an identity of a key
revokeUid: function( key, uid, password, raison )
Deprecated function
revoqueSign: function ( key, uid, password )
Test if we are currently able to run the a command.
runATest: function( option )
Execute gnupg.
runGnupg: function( parameters, sdtIn, charset )
Save the current data in the editor to a file
function savef()
savePassword:function ( password )
Seach for a key in keyserver
searchKeyInServer: function( search, silent )
Seach for a key in keyserver
searchKeyInServer: function( search, server )
This if are able to access to a GnuPG executable
selfTest: function( silent )
Return true if we’re able to call GnuPG.
selfTest: function()
Simulate a click on the send button.
sendEmail: function( nodeForScan, dDocument )
Send a key from a keyserver
sendKeyToServer: function( keyId, silent )
Send a key from a keyserver
sendKeyToServer: function( key, server )
Modify the selection, or show a dialog with the text if it’s not possible.
set: function( text, infoSignAndCrypt )
Set a new list of access
setAccessList: function( arrayy )
Set the content of a mail, need the div object with the mail
setMailContent: function( papai, doc, data )
Remplace the current selected text of the editor with the text in parameter.
function setSeletedText( text )
Activate or desactivate the handiling of pgp block for a domain
FireGPG.Inline.setSiteTo = function( aUrl, value )
Set the correct class of a key, using his status (private, revoked)
setSkinForKey:function ( key, child, privateKey )
Set class for a node with the key attribute
setSkinForKey2:function ( key, child, mainKey, sign, havePrivate )
Set the content of a mail in composition (his selection if something is selected)
setWriteMailContent: function( dDocument, idMail, newText )
Set the content of a mail in composition (his selection if something is selected)
setWriteMailContent: function( dDocument, boutonxboxnode, newText )
Show the assistant
function showAssistant()
Open the editor (the showtext.xul dialog)
showEditor:function ()
Show the dialog box to search key
showSearchBox:function ( autoSearch )
Show ‘text’ in a dialog (the editor)
showText:function ( text, description, title, doShowButtons, validSign )
Show the update dialog to let user update FireGPG
showUpdateDialog:function ()
Show warnings if use try to disable updates because it’s bad ^^.
function showWarnings()
Sign the current data of the editor.
function sign()
Function to sign a text.
sign: function( silent, text, keyID, password, notClear, autoSelectPrivate, wrap, fileMode, fileFrom, fileTo )
Return ‘sign-ok’ in ‘result’ (or ‘sign-err’ is there is a problem) if makeing a sign was successfull Return in ‘text’ a signed text
sign: function ( event )
Sign a text.
sign: function ( text, password, keyID, notClear, fileMode, fileFrom, fileTo )
Return ‘signandencrypt-ok’ in ‘result’ (or ‘signandencrypt-err’ is there is a problem) if makeing a signed and encrypted text was successfull Return in ‘text’ the encrypted text
signandencrypt: function ( event )
Sign a key
signKey: function( silent, key, keyForSign, password )
Sign a key
signKey: function( key, keyForSign, password )
Sign the current data of the editor (unclear)
function signUnClear()
This function is called when a gmail page is loaded.
simpleLoad: function( e )
Desactivate the handiling of pgp block for a domain
FireGPG.Inline.siteOff = function( aUrl )
Activate the handiling of pgp block for a domain
FireGPG.Inline.siteOn = function( aUrl )
Return ‘OFF’ if we shouln’t handle block on the domain, ‘ON’ if we should, ‘’ if user don’t case
FireGPG.Inline.siteStatus = function( aUrl )
This is a function used to sort an array of FireGPG.GPGKey by the key name Use it like this : thearray.sort(Sortage)
FireGPG.Sortage = function( a, b )
Switch on or off gmail
function switchedEnabled()
Symetricaly encrypt the current data of the editor.
function symcrypt()
Symetricaly encrypt a text.
symetric: function( text, password, algo, fileMode, fileFrom, fileTo )
Test if gmail is activated and working, and change the interface
function testGmailOn()
Test if gpg works and change the interface
function testGpg()
Test if user update FireGPG or if he have to update, and show the What is new page send a ping or propose to update FireGPG if relevant.
testIfSomethingsIsNew:function ()
Test is the current smtp server set in options is working.
function testSmtp()
Test if there is a private key and set the interface
function textPrivateKey()
This function have to be documented.
function ToggleGpgAuthPref( item )
Remove extra space at the end and the begging of the string.
trim :function ( str )
Remove extra space at the end and the begging of the string, and remove \n
TrimAndWash:function ( str )
Do some test to be able to find a working GnuPG executable.
tryToFoundTheRightCommand: function ()
Update labels of inline popup
updatePopUp: function()
Show the warning about https if need
function updateWaring()