240. SignatureCheckDialogs

240.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    240.2. Global Functions

    240.2.1. CheckSignatures

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

    Return value

    • string - sysconfig value: yes, yast, no

    240.2.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?

    240.2.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

    240.2.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

    240.2.5. ImportGPGKeyDialog

    ImportGPGKeyDialog

    Function parameters

    • map<string,any> key

    Return value

    • symbol

    240.2.6. ImportGPGKeyIntoTrustedDialog

    ImportUntrustedGPGKeyIntoTrustedDialog

    Function parameters

    • map<string,any> key

    Return value

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

    240.2.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

    240.2.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

    Return value

    • boolean - true if 'yes, use file'

    240.2.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

    240.2.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

    240.2.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

    Return value

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

    240.2.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

    240.2.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

    240.2.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')

    240.2.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

    Return value

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

    240.3. Global Variables

    240.4. Module Requirements

    240.4.1. Module Imports

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

    240.4.2. Module Includes