238. SignatureCheckDialogs

238.1. Authors

  • Lukas Ocilka <locilka@suse.cz>

  • Dialogs handling for RPM/Repository GPM signatures.

238.2. Summary of Module Globals

List of Global Functions

List of Global Variables

    238.3. Global Functions

    238.3.1. CheckSignatures

    A semi-public helper. Convert the kernel parameter to the sysconfig string

    Return value

    • string - sysconfig value: yes, yast, no

    238.3.2. CheckSignaturesInYaST

    Should signatures be checked at all? Check a sysconfig variable (or a kernel parameter for the 1st installation stage).

    Return value

    • boolean - do checking?

    238.3.3. GetDefaultDialogReturn

    Function returns the default popup return value for case when user selected "don't show again"

    Function parameters

    • string popup_type

    • string popup_url

    Return value

    • boolean

    238.3.4. GetShowThisPopup

    Function returns whether user want's to show the dialog (again). true is the default if nothing is set.

    Function parameters

    • string popup_type

    • string popup_url

    Return value

    • boolean - show the dialog

    238.3.5. ImportGPGKeyDialog

    ImportGPGKeyDialog

    Function parameters

    • map<string,any> key

    Return value

    • symbol

    238.3.6. ImportGPGKeyIntoTrustedDialog

    ImportUntrustedGPGKeyIntoTrustedDialog

    Function parameters

    • map<string,any> key

    • integer repository

    Return value

    • boolean - whether zypp should import the key into the keyring of trusted keys

    238.3.7. ItemSignedWithPublicSignature

    Used for file or package signed by a public key. This key is still not listed in trusted keys.

    Function parameters

    • symbol item_type

    • string item_name

    • map<string,any> key

    Return value

    • symbol - `key_import, `install, `skip

    238.3.8. ItemSignedWithUnknownSignature

    Used for file or package signed by unknown key.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string dont_show_dialog_ident

    • integer repoid

    Return value

    • boolean - true if 'yes, use file'

    238.3.9. SetDefaultDialogReturn

    Function sets the default dialog return value for case when user selected "don't show again"

    Function parameters

    • string popup_type

    • boolean default_return

    • string popup_url

    Return value

    • void

    238.3.10. SetShowThisPopup

    Functions sets whether user want's to show the dialog again

    Function parameters

    • string popup_type

    • boolean show_it

    • string popup_url

    Return value

    • void

    238.3.11. UseCorruptedItem

    Used for corrupted file or package. Opens dialog asking whether user wants to use this corrupted item.

    Function parameters

    • symbol item_type

    • string item_name

    • map<string,any> key

    • integer repository

    Return value

    • boolean - use or don't use ('true' if 'yes')

    238.3.12. UseFileWithUnknownDigest

    Ask user to accept a file with unknown checksum

    Function parameters

    • string filename

    • string digest

    • string dont_show_dialog_ident

    Return value

    • boolean - true when user accepts the file

    238.3.13. UseFileWithWrongDigest

    Ask user to accept wrong digest

    Function parameters

    • string filename

    • string requested_digest

    • string found_digest

    • string dont_show_dialog_ident

    Return value

    • boolean - true when user accepts the file

    238.3.14. UseItemWithNoChecksum

    Used for file or package on signed repository but without any checksum. Opens dialog asking whether user wants to use this item.

    Function parameters

    • symbol item_type

    • string item_name

    • string dont_show_dialog_ident

    Return value

    • boolean - use or don't use ('true' if 'yes')

    238.3.15. UseUnsignedItem

    Used for unsiged file or package. Opens dialog asking whether user wants to use this unsigned item.

    Function parameters

    • symbol item_type

    • string item_name

    • string dont_show_dialog_ident

    • integer repository

    Return value

    • boolean - use or don't use ('true' if 'yes')

    238.4. Global Variables

    238.5. Module Requirements

    238.5.1. Module Imports

    • DontShowAgain
    • Label
    • Linuxrc
    • Message
    • Popup
    • Stage

    238.5.2. Module Includes