Skip to Main Content
IBM Z Hardware and Operating Systems Ideas Portal


This is the public portal for all IBM Z Hardware and Operating System related offerings. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Functionality already exists
Workspace z/OS
Categories Shell & Utilities
Created by Guest
Created on Dec 21, 2024

All shell and utilities must respect the code page tag on all files.

I'm primarily interested in the openssh, specifically ssh-keygen, but all shell/utilities need to be code page tag aware.

This is extremely important as some ported tools will create files as ISO8859-1 causing those files to be unusable by some of  the z/OS utilities that expect/require those files to be in EBDCIC (IBM-1047).

Specific use case:

1. using the zopen openssh ssh-keygen the generated keys are tagged ISO8859-1

2. using the zopen git to access GitHub the ssh connection fails as the ssh key is reported in an invalid format

3. recreate the ssh keys using the /bin/ssh-keygen the resulting keys are untagged and git works

Idea priority Urgent
  • Guest
    Reply
    |
    Jan 17, 2025
    .Today, the appropriate z/OS UNIX Shells and Utilities respect file tagging when auto-conversion is enabled.
    The example you cite (zopen openssh) are not part of the Shells and Utilities. They are a separate project.
    Please open an issue in their git project.
  • Guest
    Reply
    |
    Dec 26, 2024

    The current state is, that a lot of programs opens files and assume an encoding that is not correct. maybe they convert to a certain encoding, but get it wrong because the source file is in a different encoding than they assumed or they assume a specific encoding and still get rubbish, because the source file is not in that assumed encoding.

    You might be right, that for od, tag awareness wouldn't really do anything. For iconv it could ask "the file seems to be in encoding 'abc' are you sure you want to convert it from 'def' (y/n)"

  • Guest
    Reply
    |
    Dec 22, 2024

    All?  I don't think that you want that, since not all files are processed as text.

    Your use cases all seem to have to do with using zopen openssh ssh-keygen keys with IBM z/OS openssh.    I don't understand why you would want to do that, but I don't see any reason offhand why IBM z/OS openssh ssh and sshd shouldn't support autoconversion for tagged text files containing keys.   
     

  • Guest
    Reply
    |
    Dec 21, 2024
    "All"?  some utilities are by design wisely exempt from autoconversion.
    These include od, cksum, iconv, and others.

    would it rely on autoconversion? Would it be limited to ISO8859-1
    and IBM-1047?

    What about UTF-8, which abounds on desktops and web pages?

    Would it be affected by locale settings? On my desktop I see, e.g.:
    504 $ echo aπz | sed -E 's/(.)(.)(.)/1 \1 2 \2 3 \3 /'
    1 a 2 π 3 z
    505 $
    505 $ echo aπz | LC_CTYPE=en_US.ISO8859-1 sed -E 's/(.)(.)(.)/1 \1 2 \2 3 \3 /'
    1 a 2 ? 3 ? z
    506 $